File tree Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : pages
2
+ run-name : Deploy docs
3
+
4
+ on :
5
+ push :
6
+ branches :
7
+ - master
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - uses : actions/checkout@v3
14
+ - run : pip install mkdocs mkdocs-material
15
+ - run : cd docs
16
+ - run : mkdocs build -f mkdocs.yml
17
+ - name : Upload GitHub Pages artifact
18
+ uses : actions/upload-pages-artifact@v1.0.8
19
+ with :
20
+ path : site
21
+
22
+ deploy :
23
+ needs : build
24
+ permissions :
25
+ pages : write
26
+ id-token : write
27
+ environment :
28
+ name : github-pages
29
+ url : ${{ steps.deployment.outputs.page_url }}
30
+ runs-on : ubuntu-latest
31
+ steps :
32
+ - name : Deploy to GitHub Pages
33
+ id : deployment
34
+ uses : actions/deploy-pages@v2
Original file line number Diff line number Diff line change 1
1
/.venv
2
+ /site /
You can’t perform that action at this time.
0 commit comments