File tree Expand file tree Collapse file tree 1 file changed +28
-3
lines changed
Expand file tree Collapse file tree 1 file changed +28
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ permissions:
1515 contents : write
1616
1717jobs :
18- deploy :
18+ build :
1919 runs-on : ubuntu-latest
2020 steps :
2121 - name : Checkout
2929 - name : Install mkdocs
3030 run : pip install mkdocs-material
3131
32- - name : Build
33- run : mkdocs gh-deploy --force
32+ - name : Build Documentation
33+ run : mkdocs build
34+
35+ - name : Upload Documentation
36+ if : success()
37+ uses : actions/upload-pages-artifact@v2
38+ with :
39+ name : github-pages
40+ path : ' /docs/site'
41+
42+ pages :
43+ runs-on : ubuntu-latest
44+ needs : build
45+ if : success()
46+
47+ permissions :
48+ pages : write
49+ id-token : write
50+
51+ steps :
52+ - name : Deploy Documentation
53+ id : deployment
54+ uses : actions/deploy-pages@v2
55+
56+ environment :
57+ name : github-pages
58+ url : ${{ steps.deployment.outputs.page_url }}
You can’t perform that action at this time.
0 commit comments