Skip to content

Commit

Permalink
add deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
godcrampy committed Apr 14, 2020
1 parent d78eca8 commit 35b1a28
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
yarn build

mv build/index.html build/200.html

surge build --domain https://dev-cheats.surge.sh
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"format": "eslint '**/*.ts*' --fix && prettier --write '**/*.ts*'"
"format": "eslint '**/*.ts*' --fix && prettier --write '**/*.ts*'",
"deploy": "./deploy.sh"
},
"husky": {
"hooks": {
Expand Down

0 comments on commit 35b1a28

Please sign in to comment.