File tree Expand file tree Collapse file tree 1 file changed +5
-14
lines changed
Expand file tree Collapse file tree 1 file changed +5
-14
lines changed Original file line number Diff line number Diff line change 2121 - name : Run tests
2222 run : npm test
2323 build :
24- permissions :
25- contents : write
26- pages : write
27- id-token : write
2824 runs-on : ubuntu-latest
2925 steps :
3026 - name : Checkout repository
3733 run : npm ci
3834 - name : Build Website
3935 run : npm run build
36+ - name : Upload artifact
37+ uses : actions/upload-pages-artifact@v4
38+ with :
39+ name : output-artifact
40+ path : output/
4041 deploy :
4142 needs : build
4243 permissions :
4849 url : ${{ steps.deployment.outputs.page_url }}
4950 runs-on : ubuntu-latest
5051 steps :
51- - uses : actions/checkout@v6
52- - uses : actions/setup-node@v6
53- - name : Check the files present
54- run : |
55- ls -la .
56- ls -la output
57- - name : Upload artifact
58- uses : actions/upload-pages-artifact@v3
59- with :
60- path : ./output
6152 - name : Deploy to GitHub Pages
6253 id : deployment
6354 uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments