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:
47
47
- name : Install project dependencies
48
48
run : npm ci
49
49
50
- # Step 4: Build the project
50
+ # Step 4: Build the project
51
51
- name : Build the project
52
52
run : npm run build
53
53
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
63
55
- name : Configure GitHub Pages
64
56
uses : actions/configure-pages@v4
65
57
66
- # Step 7 : Upload build artifacts
58
+ # Step 6 : Upload build artifacts
67
59
- name : Upload build artifacts
68
60
uses : actions/upload-pages-artifact@v3
69
61
with :
70
- path : ./dist # <-- Change './dist' to your build output directory if needed
62
+ path : ./dist
71
63
72
- # Step 8 : Deploy to GitHub Pages
64
+ # Step 7 : Deploy to GitHub Pages
73
65
- name : Deploy to GitHub Pages
74
66
id : deployment
75
67
uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments