File tree Expand file tree Collapse file tree 1 file changed +5
-13
lines changed Expand file tree Collapse file tree 1 file changed +5
-13
lines changed Original file line number Diff line number Diff line change @@ -47,29 +47,21 @@ jobs:
4747 - name : Install project dependencies
4848 run : npm ci
4949
50- # Step 4: Build the project
50+ # Step 4: Build the project
5151 - name : Build the project
5252 run : npm run build
5353
54- # Step 5: Verify build directory exists (add this step)
55- - name : Verify build directory
56- run : |
57- if [ ! -d "./dist" ]; then
58- echo "Error: Build directory './dist' does not exist. Check your build script.";
59- exit 1
60- fi
61-
62- # Step 6: Configure GitHub Pages
54+ # Step 5: Configure GitHub Pages
6355 - name : Configure GitHub Pages
6456 uses : actions/configure-pages@v4
6557
66- # Step 7 : Upload build artifacts
58+ # Step 6 : Upload build artifacts
6759 - name : Upload build artifacts
6860 uses : actions/upload-pages-artifact@v3
6961 with :
70- path : ./dist # <-- Change './dist' to your build output directory if needed
62+ path : ./dist
7163
72- # Step 8 : Deploy to GitHub Pages
64+ # Step 7 : Deploy to GitHub Pages
7365 - name : Deploy to GitHub Pages
7466 id : deployment
7567 uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments