File tree Expand file tree Collapse file tree 1 file changed +18
-16
lines changed Expand file tree Collapse file tree 1 file changed +18
-16
lines changed Original file line number Diff line number Diff line change 66 - " main"
77 workflow_dispatch :
88
9- permissions :
10- contents : read
11- pages : write
12- id-token : write
13-
149concurrency :
1510 group : " pages"
1611 cancel-in-progress : true
1712
1813jobs :
19- deploy :
20- environment :
21- name : github-pages
22- url : ${{ steps.deployment.outputs.page_url }}
14+ build :
2315 runs-on : ubuntu-latest
2416 steps :
2517 - name : Python Setup
26- uses : actions/setup-python@v4
18+ uses : actions/setup-python@v6
2719 with :
2820 python-version : 3
2921 architecture : x64
3022
3123 - name : Checkout Source
32- uses : actions/checkout@v3
24+ uses : actions/checkout@v5
3325
3426 - name : Install Packages
3527 run : |
3628 pip install -r requirements.txt
3729
30+ - name : Setup Pages
31+ uses : actions/configure-pages@v5
32+
3833 - name : Build Pages
3934 run : |
4035 make html
4136
42- - name : Setup Pages
43- uses : actions/configure-pages@v3
44-
4537 - name : Upload Artifact
46- uses : actions/upload-pages-artifact@v1
38+ uses : actions/upload-pages-artifact@v4
4739 with :
4840 path : " build/html/"
4941
42+ deploy :
43+ needs : build
44+ permissions :
45+ pages : write
46+ id-token : write
47+ environment :
48+ name : github-pages
49+ url : ${{ steps.deployment.outputs.page_url }}
50+ runs-on : ubuntu-latest
51+ steps :
5052 - name : Deploy to GitHub Pages
5153 id : deployment
52- uses : actions/deploy-pages@v1
54+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments