Velocitab/.github/workflows/update_docs.yml
2023-04-21 13:59:43 +01:00

26 lines
592 B
YAML

# Update the GitHub Wiki documentation when a push is made to docs/
name: Update Docs
permissions:
contents: read
wikis: write
on:
push:
paths:
- 'docs/**'
branches:
- master
jobs:
deploy-wiki:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Push Changes to GitHub Wiki
uses: Andrew-Chen-Wang/github-wiki-action@v3
env:
WIKI_DIR: docs/
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_MAIL: ${{ github.actor }}@users.noreply.github.com
GH_NAME: ${{ github.repository_owner }}