Travis deploy group for delivery version of api

This commit is contained in:
Martyn Inglis
2016-02-17 11:21:49 +00:00
parent 95cdfe08d1
commit cebca61f8e

View File

@@ -39,6 +39,16 @@ deploy:
deployment_group: notifications_api_deployment_group deployment_group: notifications_api_deployment_group
region: eu-west-1 region: eu-west-1
on: *2 on: *2
- provider: codedeploy
access_key_id: AKIAJQPPNM6P6V53SWKA
secret_access_key: *1
bucket: notifications-api-codedeploy
key: notifications-api-$TRAVIS_BRANCH-$TRAVIS_BUILD_NUMBER-$TRAVIS_COMMIT.zip
bundle_type: zip
application: notifications-api
deployment_group: notifications-api-celery
region: eu-west-1
on: *2
before_deploy: before_deploy:
- ./scripts/update_version_file.sh - ./scripts/update_version_file.sh
- zip -r notifications-api * - zip -r notifications-api *