Skip to content

Generate RSS

Generate RSS #4491

Workflow file for this run

name: Generate RSS
on:
push:
branches:
- main
workflow_dispatch:
schedule:
- cron: '11 * * * *'
jobs:
scheduled:
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the changed files back to the repository.
contents: write
steps:
- name: checkout repo content
uses: actions/checkout@v4 # checkout the repository content to github runner.
- name: setup python
uses: actions/setup-python@v4
with:
python-version: 3.9 #install the python needed
- name: Install dependencies
run: |
pip install -r requirements.txt
python -m playwright install
- name: execute py script
run: |
python bring_back_reader.py
git config user.name github-actions
git config user.email [email protected]
git add .
git commit -m "Latest Google Chrome Developer Blog RSS"
git push