diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..17a3259 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,25 @@ +name: Generate Podcast Feed +on: [push] +jobs: + build: + runs-on: ubuntu-lastest + 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 github-actions + git config user.email github-actions@github.com + git add . + git commit -m "Modified Feed" + git push