1
0
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:
Matthias Kretschmann 2020-05-25 13:27:15 +02:00
parent 699057fe8d
commit a40a791993
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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": [