-
Notifications
You must be signed in to change notification settings - Fork 1
32 lines (28 loc) · 821 Bytes
/
docs.yaml
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
---
name: Docs
on:
workflow_dispatch:
push:
branches:
- main
jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v2
- name: Create a requirement.txt
run: |
echo 'mkdocs==1.2.3' > requirements.txt
echo 'jinja2==3.0.0' >> requirements.txt
echo 'mkdocstrings==0.16.2' >> requirements.txt
echo 'mkdocs-macros-plugin==0.6.0' >> requirements.txt
echo 'matplotlib==3.3.1' >> requirements.txt
echo 'regex==2023.6.3' >> requirements.txt
echo '.' >> requirements.txt
- name: Deploy docs
uses: zhuchcn/mkdocs-deploy-gh-pages@nomaterial
env:
GITHUB_TOKEN: ${{ secrets.DEPLOY_DOCS }}
CONFIG_FILE: mkdocs.yml