Skip to content

Commit dfa7b3a

Browse files
committed
Update workflow to copy README to Wiki
1 parent 67d2927 commit dfa7b3a

File tree

1 file changed

+24
-21
lines changed

1 file changed

+24
-21
lines changed
+24-21
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,26 @@
1-
name: Wiki Sync
2-
31
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
119
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-
commit_email: "[email protected]"
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+
commit_email: '[email protected]'
26+
commit_message: 'action: wiki sync'

0 commit comments

Comments
 (0)