-
Notifications
You must be signed in to change notification settings - Fork 71
41 lines (34 loc) · 838 Bytes
/
rss.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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]