File tree Expand file tree Collapse file tree 1 file changed +14
-15
lines changed Expand file tree Collapse file tree 1 file changed +14
-15
lines changed Original file line number Diff line number Diff line change @@ -23,26 +23,25 @@ jobs:
2323 env :
2424 CONTENTFUL_ACCESS_TOKEN : ${{ secrets.CONTENTFUL_ACCESS_TOKEN }}
2525 - name : Upload GitHub Pages artifact
26- uses : actions/upload-pages- artifact@v3.0.1
26+ uses : actions/upload-artifact@v4.6.2
2727 with :
28+ name : webpage
2829 path : public
30+
2931
3032 # Deploy
3133 deploy :
3234 needs : build
33-
34- environment :
35- name : github-pages
36- url : ${{ steps.deployment.outputs.page_url }}
37-
38- # Grant GITHUB_TOKEN the permissions required to make a Pages deployment
39- permissions :
40- pages : write # to deploy to Pages
41- id-token : write # to verify the deployment originates from an appropriate source
42-
4335 runs-on : ubuntu-latest
4436 steps :
45- - name : Configure GitHub Pages
46- 47- - name : Deploy GitHub Pages site
48- 37+ - name : Download a Build Artifact
38+ 39+ with :
40+ name : webpage
41+ path : public
42+ - name : Push to GitHub Pages branch
43+ 44+ with :
45+ build_dir : public
46+ github_token : ${{ secrets.GITHUB_TOKEN }}
47+
You can’t perform that action at this time.
0 commit comments