-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (34 loc) · 838 Bytes
/
docs.yml
File metadata and controls
36 lines (34 loc) · 838 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Documentation
on:
push:
branches:
- master
repository_dispatch:
types:
- build
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: "recursive"
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Install tools
run: |
python3 -m pip install --upgrade pip
pip install mkdocs
pip install --upgrade --force-reinstall mkdocs-material
pip install mkdocs-minify-plugin
- name: Build site
run: mkdocs build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GH_TOKEN }}
publish_dir: ./site