mirror of
https://github.com/bigchaindb/site.git
synced 2024-11-22 01:36:55 +01:00
testing awscli
This commit is contained in:
parent
70a5d3807f
commit
27852f907d
@ -9,17 +9,12 @@ cache:
|
|||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- nvm install 9
|
- nvm install 9
|
||||||
|
- pip install --user awscli
|
||||||
|
- export PATH=$PATH:$HOME/.local/bin
|
||||||
|
|
||||||
before_script: "_ci/setup.sh"
|
before_script: "_ci/setup.sh"
|
||||||
script: "_ci/build.sh"
|
script: "_ci/build.sh"
|
||||||
after_success: "_ci/deploy.sh"
|
after_success: "_ci/deploy.sh"
|
||||||
|
|
||||||
# deploy:
|
|
||||||
# skip_cleanup: true
|
|
||||||
# provider: script
|
|
||||||
# script: "_ci/deploy.sh"
|
|
||||||
# on:
|
|
||||||
# all_branches: true
|
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
|
@ -7,7 +7,8 @@ set -e;
|
|||||||
##
|
##
|
||||||
if [ "$TRAVIS_PULL_REQUEST" != "false" ] && [ "$TRAVIS_BRANCH" == "master" ]; then
|
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
|
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
|
else
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user