File tree Expand file tree Collapse file tree 1 file changed +28
-4
lines changed
Expand file tree Collapse file tree 1 file changed +28
-4
lines changed Original file line number Diff line number Diff line change 11name : Deploy Docs
22on :
33 push :
4- branches : [main]
4+ branches : [ main ]
5+ workflow_dispatch : {}
6+
7+ permissions :
8+ contents : read
9+ pages : write
10+ id-token : write
11+
12+ concurrency :
13+ group : " pages"
14+ cancel-in-progress : true
15+
516jobs :
6- deploy :
17+ build :
718 runs-on : ubuntu-latest
819 steps :
920 - uses : actions/checkout@v4
1021 - uses : actions/setup-python@v5
11- with : { python-version: '3.11' }
22+ with :
23+ python-version : ' 3.11'
1224 - run : pip install mkdocs mkdocs-material mkdocstrings[python]
13- - run : mkdocs gh-deploy --force
25+ - run : mkdocs build --clean
26+ - uses : actions/upload-pages-artifact@v3
27+ with :
28+ path : site
29+ deploy :
30+ environment :
31+ name : github-pages
32+ url : ${{ steps.deployment.outputs.page_url }}
33+ runs-on : ubuntu-latest
34+ needs : build
35+ steps :
36+ - id : deployment
37+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments