We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a9074c commit 7512882Copy full SHA for 7512882
package.json
@@ -7,7 +7,7 @@
7
"test": "echo \"Error: no test specified\" && exit 1",
8
"build": "mkdir -p ./build && cp ./src/index.html ./build/ && webpack -p --config webpack.production.config.js",
9
"start": "PORT=8081 node dev-server.js",
10
- "deploy": "npm run build && cp -r build/* . && git add . && git commit -m 'Deploy to GitHub Pages' && git push origin HEAD:gh-pages"
+ "deploy": "npm run build && cp -r build/* . && git checkout gh-pages && git add . && git commit -m 'Deploy to GitHub Pages' && git push origin HEAD:gh-pages"
11
},
12
"author": "David Kobalia",
13
"license": "MIT",
0 commit comments