1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-22 01:36:55 +01:00

testing awscli

This commit is contained in:
Matthias Kretschmann 2018-02-02 11:26:50 +01:00
parent 70a5d3807f
commit 27852f907d
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 6 additions and 9 deletions

View File

@ -9,17 +9,12 @@ cache:
before_install:
- nvm install 9
- pip install --user awscli
- export PATH=$PATH:$HOME/.local/bin
before_script: "_ci/setup.sh"
script: "_ci/build.sh"
after_success: "_ci/deploy.sh"
# deploy:
# skip_cleanup: true
# provider: script
# script: "_ci/deploy.sh"
# on:
# all_branches: true
notifications:
email: false

View File

@ -7,7 +7,8 @@ set -e;
##
if [ "$TRAVIS_PULL_REQUEST" != "false" ] && [ "$TRAVIS_BRANCH" == "master" ]; then
gulp deploy --beta;
#gulp deploy --beta;
aws s3 sync ./_dist s3://beta.bigchaindb.com --delete --acl public-read --sse
##
@ -15,7 +16,8 @@ if [ "$TRAVIS_PULL_REQUEST" != "false" ] && [ "$TRAVIS_BRANCH" == "master" ]; th
##
elif [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
gulp deploy --live;
#gulp deploy --live;
aws s3 sync ./_dist s3://www.bigchaindb.com --delete --acl public-read --sse
else