Skip to content

Commit 7180286

Browse files
author
lucifer
committed
feat: public path
1 parent 5023fd7 commit 7180286

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

‎.github/workflows/deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Install and Build
2929
run: |
3030
npm install
31-
npm run-script build
31+
npm run build-web
3232
# Copy Files
3333
- name: Copy CNAME and 404.html
3434
run: |

‎package.json

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"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",
2222
"lint": "eslint src",
2323
"start": "react-app-rewired start",
24+
"build-web": "PUBLIC_URL=leetcode-cheat react-app-rewired build",
2425
"build": "react-app-rewired build",
2526
"test": "react-app-rewired test",
2627
"eject": "react-app-rewired eject",

0 commit comments

Comments
 (0)