We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ba6294 commit 9c56f1cCopy full SHA for 9c56f1c
1 file changed
.github/workflows/PublishDocsToWiki.yml
@@ -0,0 +1,25 @@
1
+name: Publish Docs to Wiki
2
+
3
+on:
4
+ push:
5
+ branches: [ master ]
6
+ paths:
7
+ - 'docs/**'
8
+ workflow_dispatch:
9
10
+jobs:
11
+ publish-wiki:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - name: Checkout repository
15
+ uses: actions/checkout@v4
16
17
+ - name: Publish /docs to GitHub Wiki
18
+ uses: SwiftDocOrg/github-wiki-publish-action@v1
19
+ with:
20
+ github_token: ${{ secrets.GITHUB_TOKEN }}
21
+ path: docs
22
+ # Optional: keep history tidy
23
+ commit_message: 'docs: publish to wiki from /docs'
24
+ # Optional: remove files not present in docs
25
+ allow_empty_commit: false
0 commit comments