Skip to content

Commit 8039a9d

Browse files
authored
Add GitHub Actions workflow for RSS feed updates
1 parent 97077d2 commit 8039a9d

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: TEST RSS Feed
2+
3+
on:
4+
push:
5+
branches:
6+
- test
7+
8+
jobs:
9+
fetch-rss:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v4
15+
16+
- name: Fetch RSS Feed
17+
uses: Promptly-Technologies-LLC/rss-fetch-action@v2
18+
with:
19+
feed_url: 'https://endpoints.office.com/version/worldwide?clientRequestId=ffa1b7d1-c7e3-4af6-bce7-4977af4d8863&allVersions=true&format=RSS&serviceAreas=MEM'
20+
file_path: './feed.json'
21+
22+
- name: Commit and push changes to repository
23+
uses: stefanzweifel/git-auto-commit-action@v4
24+
with:
25+
commit_message: 'Update RSS feed'
26+
file_pattern: '*.json'

0 commit comments

Comments
 (0)