Update workflow to configure Git Safe Directory and copy README to Wiki #19
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: | |
- '**' | |
- .github/workflows/copy-readme-to-wiki.yml | |
concurrency: | |
group: publish-wiki | |
cancel-in-progress: true | |
permissions: | |
contents: write | |
jobs: | |
publish-wiki: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: Andrew-Chen-Wang/github-wiki-action@v4 | |
with: | |
token: ${{ secrets.GH_TOKEN }} | |
path: . |