File tree Expand file tree Collapse file tree 1 file changed +3
-25
lines changed Expand file tree Collapse file tree 1 file changed +3
-25
lines changed Original file line number Diff line number Diff line change @@ -111,17 +111,10 @@ jobs:
111111 git commit -m "chore: update committer cache [skip ci]" || echo "No changes to commit"
112112 git push origin docs
113113
114- - name : Compress site for upload
115- run : |
116- tar -czf site.tar.gz -C site .
117- ls -lh site.tar.gz
118-
119- - name : Upload artifact
120- uses : actions/upload-artifact@v4
114+ - name : Upload to GitHub Pages
115+ uses : actions/upload-pages-artifact@v3
121116 with :
122- name : github-pages
123- path : site.tar.gz
124- retention-days : 1
117+ path : site
125118
126119 deploy :
127120 needs : build
@@ -133,21 +126,6 @@ jobs:
133126 name : github_pages
134127 url : ${{ steps.deployment.outputs.page_url }}
135128 steps :
136- - name : Download artifact
137- uses : actions/download-artifact@v4
138- with :
139- name : github-pages
140-
141- - name : Extract site
142- run : |
143- mkdir -p site
144- tar -xzf site.tar.gz -C site
145-
146- - name : Upload to GitHub Pages
147- uses : actions/upload-pages-artifact@v3
148- with :
149- path : ./site
150-
151129 - name : Deploy to GitHub Pages
152130 id : deployment
153131 uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments