-
Notifications
You must be signed in to change notification settings - Fork 2
33 lines (28 loc) · 799 Bytes
/
Copy pathdocs.yaml
File metadata and controls
33 lines (28 loc) · 799 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
name: Deploy docs to GitHub Pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: |
pip install mkdocs mkdocs-material
pip install mkdocs-techdocs-core
pip install mkdocs-include-markdown-plugin
pip install mkdocs-awesome-pages-plugin
- name: Deploy docs
run: |
mkdocs gh-deploy --force \
--config-file mkdocs.yml \
--remote-branch gh-pages \
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}