docs: Add docs and corresponding workflow

This commit is contained in:
William committed 2023-04-21 19:00:57 +01:00
1 parent 4b8a0f5719
commit daa50c8d04
24 files changed
+810

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
# Update the GitHub Wiki documentation when a push is made to docs/
name: Update Docs
on:
push:
branches: [ 'master' ]
paths:
- 'docs/**'
- 'workflows/**'
tags-ignore:
- '*'
permissions:
contents: write
jobs:
deploy-wiki:
runs-on: ubuntu-latest
steps:
- name: 'Checkout Code'
uses: actions/checkout@v3
- name: 'Push Changes to Wiki'
uses: Andrew-Chen-Wang/github-wiki-action@v3
env:
WIKI_DIR: 'docs/'
GH_TOKEN: ${{ github.token }}
GH_MAIL: '[email protected]'
GH_NAME: 'github-actions[bot]'