Skip to content

Basic track: Updated the Callables: C++ vs Java article #10

Basic track: Updated the Callables: C++ vs Java article

Basic track: Updated the Callables: C++ vs Java article #10

Workflow file for this run

name: Generate RSS Feed for docs
on:
push:
branches: [ main ]
paths:
- 'docs/**/*.pdf' # Only trigger on PDF changes in docs/
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Set up Python 3
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Generate RSS feed from PDFs
run: |
python generate_rss.py
- name: Commit and push updated rss.xml
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add docs/rss.xml
git commit -m "Update RSS feed with new article" || echo "No changes to commit"
git push