Update Podcast Episodes from RSS #125
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Update Podcast Episodes from RSS | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| schedule: | |
| - cron: "5 5 * * *" # Run at 05:05. | |
| jobs: | |
| update-podcast-episodes-from-rss: | |
| name: Update Podcast Episodes from RSS | |
| runs-on: ubuntu-24.04 | |
| defaults: | |
| run: | |
| working-directory: website-admin | |
| steps: | |
| - uses: actions/[email protected] | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version: "1.25" | |
| - name: Build | |
| run: make build | |
| - name: website-admin podcast sync-from-rss | |
| run: | | |
| ./website-admin podcast sync-from-rss \ | |
| --episodes-dir src/content/podcast \ | |
| --images-dir src/content/podcast \ | |
| --rss-feed-url https://feeds.redcircle.com/0ecfdfd7-fda1-4c3d-9515-476727f9df5e \ | |
| --transcript-dir src/data/transcripts | |
| - name: website-admin podcast netlify-redirect | |
| run: | | |
| ./website-admin podcast netlify-redirect \ | |
| --episodes-dir src/content/podcast \ | |
| --redirect-prefix "/episodes/" \ | |
| --toml-file netlify.toml | |
| # Commit results back to repository | |
| - uses: stefanzweifel/[email protected] | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| commit_message: "chore: Synchronisation of Podcast Episodes and redirects" | |
| branch: main | |
| commit_user_name: "GitHub Actions Bot" | |
| commit_user_email: "[email protected]" | |
| commit_author: "GitHub Actions Bot <[email protected]>" |