Skip to content

Commit 9fb92c7

Browse files
authored
Add GitHub Actions workflow for podcast feed generation
1 parent 761e251 commit 9fb92c7

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Generate Podcast Feeds
2+
on: [push]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- name: Checkout Repo
8+
uses: actions/checkout@v3
9+
- name: Setup Python
10+
uses: actions/setup-python@v4
11+
with:
12+
python-version: '3.10'
13+
- name: Install Dependencies
14+
run: |
15+
python -m pip install --upgrade pip
16+
pip install pyyaml
17+
- name: Run Feed Generator
18+
run: python feed.py
19+
- name: Push Repo
20+
run: |
21+
git config user.name githib-actions
22+
git config user.email github-actions@github.com
23+
git add .
24+
git commit -m "Modified Feed"
25+
git push

0 commit comments

Comments
 (0)