mirror of
https://github.com/bigchaindb/site.git
synced 2024-11-21 17:26:55 +01:00
fix deploy commands
This commit is contained in:
parent
699057fe8d
commit
a40a791993
@ -14,14 +14,14 @@ set -e;
|
||||
##
|
||||
if [ "$TRAVIS_PULL_REQUEST" != "false" ] && [ "$TRAVIS_BRANCH" == "master" ]; then
|
||||
|
||||
gulp deploy --beta;
|
||||
npm run deploy:staging;
|
||||
|
||||
##
|
||||
## check for master push which is no pull request
|
||||
##
|
||||
elif [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
|
||||
|
||||
gulp deploy --live;
|
||||
npm run deploy;
|
||||
|
||||
else
|
||||
|
||||
|
@ -13,6 +13,8 @@
|
||||
"start": "gulp",
|
||||
"build": "gulp build --production",
|
||||
"build:staging": "gulp build --staging",
|
||||
"deploy": "gulp deploy --live",
|
||||
"deploy:staging": "gulp deploy --beta",
|
||||
"test": "stylelint _src/_assets/styles/**/*.scss"
|
||||
},
|
||||
"browserslist": [
|
||||
|
Loading…
Reference in New Issue
Block a user