Update github actions
This commit is contained in:
parent
277faa310d
commit
5ec16c82c4
@ -15,8 +15,8 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Run a script
|
- name: Run a script
|
||||||
run: |
|
run: |
|
||||||
chmod +x ./docs/scripts/keybindings_to_markdown.sh
|
chmod +x ./.github/scripts/keybindings_to_markdown.sh
|
||||||
./docs/scripts/keybindings_to_markdown.sh
|
./docs/.github/keybindings_to_markdown.sh
|
||||||
git config user.name github-actions
|
git config user.name github-actions
|
||||||
git config user.email github-actions@github.com
|
git config user.email github-actions@github.com
|
||||||
git add .
|
git add .
|
||||||
|
4
.github/workflows/update-readme.yml
vendored
4
.github/workflows/update-readme.yml
vendored
@ -22,8 +22,8 @@ jobs:
|
|||||||
go install github.com/anotherhadi/markdown-table-of-contents@latest
|
go install github.com/anotherhadi/markdown-table-of-contents@latest
|
||||||
- name: Run a script
|
- name: Run a script
|
||||||
run: |
|
run: |
|
||||||
chmod +x ./docs/scripts/create_readme.sh
|
chmod +x ./.github/scripts/create_readme.sh
|
||||||
./docs/scripts/create_readme.sh
|
./.github/scripts/create_readme.sh
|
||||||
git config user.name github-actions
|
git config user.name github-actions
|
||||||
git config user.email github-actions@github.com
|
git config user.email github-actions@github.com
|
||||||
git add .
|
git add .
|
||||||
|
24
.github/workflows/update-scripts-docs.yml
vendored
Normal file
24
.github/workflows/update-scripts-docs.yml
vendored
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- 'home/scripts'
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
jobs:
|
||||||
|
update-readme:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
working-directory: ./
|
||||||
|
steps:
|
||||||
|
- name: Check out the repository to the runner
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- name: Run a script
|
||||||
|
run: |
|
||||||
|
chmod +x ./.github/scripts/create_scripts_docs.sh
|
||||||
|
./.github/scripts/create_scripts_docs.sh
|
||||||
|
git config user.name github-actions
|
||||||
|
git config user.email github-actions@github.com
|
||||||
|
git add .
|
||||||
|
git commit -m "Update SCRIPTS.md (auto)"
|
||||||
|
git push
|
Loading…
Reference in New Issue
Block a user