Skip to content

Commit

Permalink
Update youtube-archive.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotmatson authored Nov 18, 2024
1 parent ea2aecc commit bad6378
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/youtube-archive.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:

- name: Download AND playlist with yt-dlp
run: |
echo "out='$(
ssh -o StrictHostKeyChecking=no root@production 'yt-dlp \
-o "${{ secrets.SERMON_ARCHIVE_PATH }}/%(playlist_title)s/%(upload_date)s - %(title)s/%(upload_date)s - %(title)s.%(ext)s.%(ext)s" \
--download-archive "${{ secrets.SERMON_ARCHIVE_PATH }}/archive.txt" \
Expand All @@ -39,7 +40,7 @@ jobs:
--file-access-retries 50 \
--no-clean-info-json \
--print after_video:" - %(title)s" \
"https://www.youtube.com/playlist?list=PLbQ39sgTWJxeVK3iDlN10wl_REBksOL6n"'
"https://www.youtube.com/playlist?list=PLbQ39sgTWJxeVK3iDlN10wl_REBksOL6n"')'" >> "$GITHUB_OUTPUT"
continue-on-error: true
id: and_status

Expand Down Expand Up @@ -113,7 +114,7 @@ jobs:
"widgets": [
{
"textParagraph": {
"text": "test ${{ steps.and_status.outputs.stdout }}"
"text": "test ${{ steps.and_status.outputs.out }}"
}
}
]
Expand Down

0 comments on commit bad6378

Please sign in to comment.