File tree Expand file tree Collapse file tree 1 file changed +16
-26
lines changed
Expand file tree Collapse file tree 1 file changed +16
-26
lines changed Original file line number Diff line number Diff line change 1+ name : Publish wiki
12on :
2- push :
3- branches :
4- - main
5- pull_request :
6- branches :
7- - main
8- name : Wiki Sync
3+ push :
4+ branches : [main]
5+ paths :
6+ - ' **'
7+ - .github/workflows/copy-readme-to-wiki.yml
8+ concurrency :
9+ group : publish-wiki
10+ cancel-in-progress : true
11+ permissions :
12+ contents : write
913jobs :
10- update-wiki :
11- runs-on : ubuntu-latest
12- steps :
13- - uses : actions/checkout@v2
14- - name : Copy README to Wiki
15- run : |
16- mkdir -p wiki
17- cp README.md wiki/
18- - name : Configure Git Safe Directory
19- run : git config --global --add safe.directory /wiki
20- - name : Sync Wiki
21- uses : joeizzard/action-wiki-sync@master
22- with :
23- username : LinkStackOrg
24- access_token : ${{ secrets.GH_TOKEN }}
25- wiki_folder : wiki
26- commit_username : ' JulianPrieber'
27- 28- commit_message : ' action: wiki sync'
14+ publish-wiki :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - uses : actions/checkout@v3
18+ - uses : Andrew-Chen-Wang/github-wiki-action@v4
You can’t perform that action at this time.
0 commit comments