mirror of
https://github.com/bigchaindb/site.git
synced 2024-11-24 18:52: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
|
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
|
## check for master push which is no pull request
|
||||||
##
|
##
|
||||||
elif [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
|
elif [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
|
||||||
|
|
||||||
gulp deploy --live;
|
npm run deploy;
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
|
@ -13,6 +13,8 @@
|
|||||||
"start": "gulp",
|
"start": "gulp",
|
||||||
"build": "gulp build --production",
|
"build": "gulp build --production",
|
||||||
"build:staging": "gulp build --staging",
|
"build:staging": "gulp build --staging",
|
||||||
|
"deploy": "gulp deploy --live",
|
||||||
|
"deploy:staging": "gulp deploy --beta",
|
||||||
"test": "stylelint _src/_assets/styles/**/*.scss"
|
"test": "stylelint _src/_assets/styles/**/*.scss"
|
||||||
},
|
},
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
|
Loading…
Reference in New Issue
Block a user