File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,28 +28,21 @@ jobs:
2828 run : |
2929 yarn install --check-cache
3030 yarn run build-main
31- - name : Get production artifact
32- uses : actions/upload-artifact@v4
31+ - name : Create .nojekyll file
32+ run : touch ./dist/.nojekyll
33+ - name : Upload artifact
34+ uses : actions/upload-pages-artifact@v3
3335 with :
34- name : production-build
35- path : dist
36+ path : ' ./main'
3637 deploy :
3738 environment :
3839 name : github-pages
3940 url : ${{ steps.deployment.outputs.page_url }}
4041 runs-on : ubuntu-latest
4142 needs : build
4243 steps :
43- - name : Download artifact
44- uses : actions/download-artifact@v4
45- with :
46- name : production-build
4744 - name : Setup Pages
4845 uses : actions/configure-pages@v5
49- - name : Upload artifact
50- uses : actions/upload-pages-artifact@v3
51- with :
52- path : ' ./dist'
5346 - name : Deploy to GH Pages
5447 id : deployment
5548 uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments