We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e99d4da commit 9cb7f9aCopy full SHA for 9cb7f9a
.github/workflows/shell-wiki.yml
.github/workflows/wiki-deploy.yml
@@ -0,0 +1,29 @@
1
+name: Publish Wiki
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ paths:
7
+ - 'wiki-pages/**'
8
+ - '.github/workflows/wiki-deploy.yml'
9
+concurrency:
10
+ group: publish-wiki
11
+ cancel-in-progress: true
12
+permissions:
13
+ contents: write
14
15
+jobs:
16
+ publish-wiki:
17
+ runs-on: ubuntu-latest
18
+ steps:
19
+ - uses: actions/checkout@v4
20
21
+ - name: Move wiki pages to wiki/ folder
22
+ run: |
23
+ mkdir -p wiki
24
+ cp wiki-pages/*.md wiki/
25
26
+ - uses: Andrew-Chen-Wang/github-wiki-action@v4
27
+ with:
28
+ path: wiki
29
+ commit-message: "Update wiki ${{ github.sha }}"
0 commit comments