-
Notifications
You must be signed in to change notification settings - Fork 5
39 lines (38 loc) · 1.11 KB
/
readme.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
name: Update README.md
on:
push:
branches: [master]
paths-ignore:
- "README.md"
jobs:
update-readme:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install CLI
run: |
sudo apt remove python3-pip
python -m pip install --upgrade pip
pip install .
- name: Prepare source file
run: |
echo "\`\`\`" > .help
frigga --help >> .help
echo -n "\`\`\`" >> .help
- uses: unfor19/[email protected]
name: Update README.md file
with:
src-file-path: ".help"
dst-file-path: "README.md"
start-value: "<!-- available_commands_start -->"
end-value: "<!-- available_commands_end -->"
git-user-name: "GitHub Actions"
git-user-email: "[email protected]"
git-commit-msg: "Updated by GitHub Actions"
git-skip-commit: false
git-skip-push: false
create-backup: true