File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 3535 - name : Upload artifact
3636 uses : actions/upload-artifact@v4
3737 with :
38- name : react-build
39- path : ./build
38+ name : react-build # Name the artifact as 'react-build'
39+ path : ./build # Path to the build output directory
40+
4041 deploy :
4142 needs : build
4243 runs-on : ubuntu-latest
@@ -46,10 +47,10 @@ jobs:
4647 - name : Download artifact
4748 uses : actions/download-artifact@v4
4849 with :
49- name : react-build # Correct artifact name
50+ name : react-build # Name should match the uploaded artifact name
5051 - name : List files after download
51- run : ls -l
52+ run : ls -l # Confirm the artifact was downloaded correctly
5253 - name : Deploy to GitHub Pages
5354 uses : actions/deploy-pages@v4
5455 with :
55- token : ${{ secrets.GITHUB_TOKEN }}
56+ token : ${{ secrets.GITHUB_TOKEN }} # GitHub token for authentication
You can’t perform that action at this time.
0 commit comments