File tree 1 file changed +24
-21
lines changed
1 file changed +24
-21
lines changed Original file line number Diff line number Diff line change 1
- name : Wiki Sync
2
-
3
1
on :
4
- push :
5
- branches :
6
- - " main"
7
- pull_request :
8
- branches :
9
- - " main"
10
-
2
+ push :
3
+ branches :
4
+ - main
5
+ pull_request :
6
+ branches :
7
+ - main
8
+ name : Wiki Sync
11
9
jobs :
12
- stale :
13
- runs-on : ubuntu-latest
14
- steps :
15
- - uses : actions/checkout@main
16
- - uses : JoeIzzard/ghaction-wiki-sync@v1
17
- with :
18
- username : LinkStackOrg
19
- access_token : " {{ secrets.GH_TOKEN }}"
20
- wiki_folder : " docs"
21
- commit_message : " Update Wiki"
22
- commit_username : " JulianPrieber"
23
-
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 : Sync Wiki
19
+ uses : joeizzard/action-wiki-sync@main
20
+ with :
21
+ username : example
22
+ access_token : ${{ secrets.GH_TOKEN }}
23
+ wiki_folder : wiki
24
+ commit_username : ' Julian Prieber'
25
+
26
+ commit_message : ' action: wiki sync'
You can’t perform that action at this time.
0 commit comments