awl/.github/workflows/wiki.yaml
Renovate Bot 0ce11b36c0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
chore(deps): update actions/checkout action to v3
2022-08-11 09:00:21 +00:00

27 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@v3
- 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 }}