This repository has been archived by the owner on Sep 13, 2024. It is now read-only.
Publish wiki #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish wiki | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- docs/** | |
workflow_dispatch: | |
permissions: | |
contents: write | |
concurrency: | |
group: publish-wiki | |
cancel-in-progress: true | |
jobs: | |
publish-wiki: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: Andrew-Chen-Wang/github-wiki-action@v4 | |
with: | |
path: docs | |
token: ${{ secrets.PAT }} |