Upload ZIP of build files to S3 after successful Travis run
This commit is contained in:
parent
b79ecfb5fe
commit
dcb3d740bc
1 changed files with 16 additions and 0 deletions
16
.travis.yml
16
.travis.yml
|
@ -29,3 +29,19 @@ before_script:
|
|||
- node_modules/.bin/gulp build
|
||||
script:
|
||||
- test/runtests.sh -x firefox/firefox
|
||||
before_deploy:
|
||||
- mkdir build-zip
|
||||
- cd build
|
||||
- zip -r ../build-zip/$(date +"%Y-%m-%d")-$TRAVIS_BRANCH-$TRAVIS_COMMIT.zip *
|
||||
deploy:
|
||||
provider: s3
|
||||
access_key_id: AKIAJFDVJ54MCAEXPQ5Q
|
||||
secret_access_key:
|
||||
secure: YXRlWOAMELuCmArVTR50NH3HHEK/nwltmiS5iIEIVx0hFtI/GJCZWjWH0eQ5ro1V1GgYyEGT+Miud9SXNDeejYFNpR80G4gBSSpbngvT/CBYE5IIN/rvlykklCy5+HEgAZEt72zowBDzlX2DBRYPjryKXjL0Ahcz/H7NGvtS5Hk=
|
||||
bucket: zotero-builds
|
||||
skip_cleanup: true
|
||||
local-dir: build-zip
|
||||
upload-dir: client
|
||||
acl: private
|
||||
on:
|
||||
repo: zotero/zotero
|
||||
|
|
Loading…
Reference in a new issue