1 parent 5023fd7 commit 7180286Copy full SHA for 7180286
.github/workflows/deploy.yml
@@ -28,7 +28,7 @@ jobs:
28
- name: Install and Build
29
run: |
30
npm install
31
- npm run-script build
+ npm run build-web
32
# Copy Files
33
- name: Copy CNAME and 404.html
34
package.json
@@ -21,6 +21,7 @@
21
"release": "zip -r leetcode-cheat.zip build/ && mv leetcode-cheat.zip ../leetcode-cheat-release/ && cd ../leetcode-cheat-release && git commit -am 'feat: release' && git push",
22
"lint": "eslint src",
23
"start": "react-app-rewired start",
24
+ "build-web": "PUBLIC_URL=leetcode-cheat react-app-rewired build",
25
"build": "react-app-rewired build",
26
"test": "react-app-rewired test",
27
"eject": "react-app-rewired eject",
0 commit comments