Add GitHub Actions workflow for podcast feed generation #1
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: Generate Podcast Feeds | |
| on: [push] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repo | |
| uses: actions/checkout@v3 | |
| - name: Setup Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.10' | |
| - name: Install Dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install pyyaml | |
| - name: Run Feed Generator | |
| run: python feed.py | |
| - name: Push Repo | |
| run: | | |
| git config user.name githib-actions | |
| git config user.email github-actions@github.com | |
| git add . | |
| git commit -m "Modified Feed" | |
| git push |