Merge pull request #159 from daixtrose/patch-1 #76
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: RSS feed generator | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
checks: read | |
contents: write | |
id-token: write | |
steps: | |
- name: checkout | |
uses: actions/checkout@master | |
with: | |
ref: master | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.9' | |
cache: 'pip' | |
- run: pip install -r requirements.txt | |
- run: python rss_generator.py | |
- name: push | |
uses: github-actions-x/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
push-branch: 'master' | |
commit-message: '[no ci] Update RSS feed' | |
force-add: 'true' | |
files: "*.xml" | |
name: GitHub bot | |
email: [email protected] |