File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 workflow_dispatch :
88
99permissions :
10- contents : read
11- pages : write
12- id-token : write
10+ contents : write
1311
1412concurrency :
15- group : pages
16- cancel-in-progress : false
13+ group : docs
14+ cancel-in-progress : true
1715
1816jobs :
19- build :
17+ deploy :
2018 runs-on : ubuntu-latest
2119 steps :
2220 - name : Checkout
2321 uses : actions/checkout@v4
22+ with :
23+ fetch-depth : 0
2424
2525 - name : Set up Python
2626 uses : actions/setup-python@v5
3737 - name : Build documentation
3838 run : mkdocs build --strict
3939
40- - name : Upload GitHub Pages artifact
41- uses : actions/upload-pages-artifact@v5
42- with :
43- path : site
44-
45- deploy :
46- environment :
47- name : github-pages
48- url : ${{ steps.deployment.outputs.page_url }}
49- runs-on : ubuntu-latest
50- needs : build
51- steps :
52- - name : Deploy to GitHub Pages
53- id : deployment
54- uses : actions/deploy-pages@v5
40+ - name : Deploy to gh-pages
41+ run : mkdocs gh-deploy --force --no-history
You can’t perform that action at this time.
0 commit comments