2021-03-17 09:35:56 +00:00
|
|
|
name: "Docs: Deploy"
|
|
|
|
on:
|
2021-03-17 16:20:26 +00:00
|
|
|
workflow_dispatch:
|
2021-03-17 09:35:56 +00:00
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
paths:
|
|
|
|
- 'docs/**'
|
|
|
|
- '.github/workflows/docs.deploy.yaml'
|
2021-03-31 20:50:04 +00:00
|
|
|
- 'mkdocs.yml'
|
2021-03-17 09:35:56 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: Deploy Wiki
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2021-04-09 15:36:33 +00:00
|
|
|
uses: actions/checkout@v2
|
2021-03-17 09:35:56 +00:00
|
|
|
with:
|
|
|
|
token: ${{ secrets.BOT_TOKEN }}
|
|
|
|
|
|
|
|
- name: Deploy docs
|
|
|
|
uses: mhausenblas/mkdocs-deploy-gh-pages@master
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
|