Skip to content

Commit

Permalink
update deploy site script
Browse files Browse the repository at this point in the history
  • Loading branch information
metagrover committed Dec 18, 2017
1 parent 1bbdb7c commit a4bb665
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"name": "reactivesearch-packages",
"scripts": {
"lint": "eslint .",
"precommit": "eslint ."
"precommit": "eslint .",
"deploy-site": "scripts/deploy-site.sh"
},
"author": "metagrover",
"license": "Apache-2.0",
Expand Down
3 changes: 3 additions & 0 deletions scripts/deploy-site.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

git subtree push --prefix site/ origin gh-pages
3 changes: 0 additions & 3 deletions scripts/deploy.sh

This file was deleted.

3 changes: 1 addition & 2 deletions site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"license": "Apache-2.0",
"scripts": {
"start": "webpack-dev-server --content-base . --history-api-fallback --hot --inline --progress --colors --port 8000",
"build": "NODE_ENV=production webpack -p",
"deploy": "../scripts/deploy.sh"
"build": "NODE_ENV=production webpack -p"
},
"dependencies": {
"@appbaseio/designkit": "^0.1.2",
Expand Down

0 comments on commit a4bb665

Please sign in to comment.