update-podcast-feeds #27294
This file contains 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-feeds | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '15 * * * *' | |
jobs: | |
update-feeds: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11.5' | |
cache: 'pip' | |
- name: Install Python packages | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Execute feed generation script | |
run: python generate_feeds.py | |
- name: Auto-commit changes and push | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: "chore(auto): Update podcast feed(s)" | |
commit_author: Feed Updater <[email protected]> | |
repository: ./docs/ |