mirror of
https://github.com/GSA/notifications-api.git
synced 2026-03-17 00:30:08 -04:00
Added build numbers to S3 artifacts
This commit is contained in:
@@ -29,7 +29,7 @@ deploy:
|
||||
access_key_id: AKIAJQPPNM6P6V53SWKA
|
||||
secret_access_key: *1
|
||||
bucket: notifications-api-codedeploy
|
||||
key: notifications-api.zip
|
||||
key: notifications-api-$TRAVIS_BRANCH-$TRAVIS_BUILD_NUMBER-$TRAVIS_COMMIT.zip
|
||||
bundle_type: zip
|
||||
application: notifications-api
|
||||
deployment_group: notifications_api_deployment_group
|
||||
@@ -38,6 +38,6 @@ deploy:
|
||||
before_deploy:
|
||||
- zip -r notifications-api *
|
||||
- mkdir -p dpl_cd_upload
|
||||
- mv notifications-api.zip dpl_cd_upload/notifications-api.zip
|
||||
- mv notifications-api.zip dpl_cd_upload/notifications-api-$TRAVIS_BRANCH-$TRAVIS_BUILD_NUMBER-$TRAVIS_COMMIT.zip
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user