File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 workflow_dispatch :
77
88permissions :
9- contents : read
10- pages : write
11- id-token : write
12-
13- concurrency :
14- group : " pages"
15- cancel-in-progress : false
9+ contents : write
1610
1711jobs :
18- build :
12+ build-and-deploy :
1913 runs-on : ubuntu-latest
2014 steps :
2115 - name : Checkout repository
4034 - name : Build Sphinx documentation
4135 run : make html
4236
43- - name : Upload Pages artifact
44- uses : actions/upload-pages-artifact@v3
45- with :
46- path : build/html/
47-
48- deploy :
49- environment :
50- name : github-pages
51- url : ${{ steps.deployment.outputs.page_url }}
52- runs-on : ubuntu-latest
53- needs : build
54- steps :
5537 - name : Deploy to GitHub Pages
56- id : deployment
57- uses : actions/deploy-pages@v4
38+ uses : peaceiris/actions-gh-pages@v4
39+ with :
40+ github_token : ${{ secrets.GITHUB_TOKEN }}
41+ publish_dir : ./build/html
You can’t perform that action at this time.
0 commit comments