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-12-10 15:32:28 +00:00
|
|
|
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # renovate: tag=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 }}
|
2021-08-08 12:39:38 +00:00
|
|
|
REQUIREMENTS: docs/requirements.txt
|