Skip to content

Merge branch 'main' of https://github.com/mikeromard/markdown-to-rss #10

Merge branch 'main' of https://github.com/mikeromard/markdown-to-rss

Merge branch 'main' of https://github.com/mikeromard/markdown-to-rss #10

name: Update RSS feed
on:
push:
branches:
- main
paths:
- 'test_product_updates.md'
permissions:
contents: write
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.9'
- name: install python packages
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: run markdown_to_rss.py script
run: |
python markdown_to_rss.py
git config user.name github-actions
git config user.email [email protected]
git add .
git commit -m "auto-updated test_rss_feed.xml"
git push