tuning deploy
@@ -35,8 +35,9 @@ deploy:
secret_access_key: "$AWS_SECRET_KEY"
skip_cleanup: true
local_dir: "$BUILD_ARTEFACTS_DIR"
- upload_dir: "$S3_DEPLOY_DIR/$S3_JOB_DIR"
+ upload-dir: "$S3_DEPLOY_DIR/$S3_JOB_DIR"
acl: public_read
+ region: eu-central-1
on:
all_branches: true
@@ -55,7 +56,7 @@ env:
global:
- ANDROID_NDK_HOME=$HOME/android-ndk-r12b
- BUILD_ARTEFACTS_DIR=$HOME/build_artefacts
- - S3_JOB_DIR=$TRAVIS_BUILD_NUMBER_$TRAVIS_COMMIT/$TRAVIS_JOB_NUMBER_$RHO_APP
+ - S3_JOB_DIR=$TRAVIS_BUILD_NUMBER_$TRAVIS_COMMIT/$TRAVIS_JOB_NUMBER_$TRAVIS_OS_NAME_$RHO_TARGET_$RHO_APP
- S3_DEPLOY_DIR=$TRAVIS_REPO_SLUG/$TRAVIS_BRANCH
osx_image: xcode9.1
