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 :
1513 group : pages
1614 cancel-in-progress : true
1715
1816jobs :
19- build :
17+ build-and-deploy :
2018 runs-on : ubuntu-latest
2119 steps :
2220 - name : Checkout
2321 uses : actions/checkout@v4
22+ with :
23+ persist-credentials : false
2424
2525 - name : Setup Node.js
2626 uses : actions/setup-node@v4
3434 - name : Build
3535 run : npm run build
3636
37- - name : Add CNAME
38- run : cp CNAME dist/pythoncatania/browser/CNAME
39-
40- - name : Upload artifact
41- uses : actions/upload-pages-artifact@v3
37+ - name : Deploy
38+ uses : JamesIves/github-pages-deploy-action@v4
4239 with :
43- path : dist/pythoncatania/browser
44-
45- deploy :
46- needs : build
47- runs-on : ubuntu-latest
48- environment :
49- name : github-pages
50- url : ${{ steps.deployment.outputs.page_url }}
51- steps :
52- - name : Deploy to GitHub Pages
53- id : deployment
54- uses : actions/deploy-pages@v4
40+ branch : gh-pages
41+ folder : dist/pythoncatania/browser
You can’t perform that action at this time.
0 commit comments