Skip to content

Commit 541dc02

Browse files
authored
Create deploy_web.yml
1 parent abbc381 commit 541dc02

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

.github/workflows/deploy_web.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Deploy Docs
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
deploy:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v4
17+
with:
18+
fetch-depth: 0 # full history needed for git-revision-date plugin
19+
20+
- name: Set up Python
21+
uses: actions/setup-python@v4
22+
with:
23+
python-version: '3.11'
24+
25+
- name: Install dependencies
26+
run: |
27+
python -m pip install --upgrade pip
28+
pip install mkdocs mkdocs-material
29+
pip install -e .
30+
31+
- name: Deploy to GitHub Pages
32+
run: mkdocs gh-deploy --force

0 commit comments

Comments
 (0)