Skip to content

Commit b0a86d6

Browse files
author
David Silva
committed
added deploy instructions to run react in github pages
1 parent 403e131 commit b0a86d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"start": "node scripts/start.js",
6565
"build": "node scripts/build.js",
6666
"test": "node scripts/test.js --env=jsdom",
67-
"deploy": "npm run build&&gh-pages -d build"
67+
"deploy": "npm run build && cp build/index.html build/404.html && gh-pages -d build"
6868
},
6969
"homepage": "https://codecorgi.co",
7070
"jest": {

0 commit comments

Comments
 (0)