Sam Therapy
4c9221ee29
Some checks failed
continuous-integration/drone/push Build is failing
:^) Signed-off-by: Sam Therapy <sam@samtherapy.net>
26 lines
671 B
YAML
26 lines
671 B
YAML
name: Deploy Wiki
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
# Trigger only when wiki directory changes
|
|
- "doc/wiki/**"
|
|
|
|
jobs:
|
|
deploy-wiki:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Checkout submodules
|
|
uses: git submodule update --init --recursive
|
|
|
|
- name: Push Wiki Changes
|
|
uses: Andrew-Chen-Wang/github-wiki-action@v3
|
|
env:
|
|
# Make sure you have that / at the end. We use rsync
|
|
# WIKI_DIR's default is wiki/
|
|
WIKI_DIR: doc/wiki/
|
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
GH_MAIL: ${{ secrets.YOUR_EMAIL }}
|
|
GH_NAME: ${{ github.repository_owner }}
|