Deploy staging branch only

This commit is contained in:
Martyn Inglis
2016-03-03 14:32:13 +00:00
parent aaedd4d054
commit 39a48c5523

View File

@@ -39,6 +39,7 @@ 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
branch: staging
- provider: codedeploy - provider: codedeploy
access_key_id: AKIAJQPPNM6P6V53SWKA access_key_id: AKIAJQPPNM6P6V53SWKA
secret_access_key: *1 secret_access_key: *1
@@ -49,6 +50,7 @@ deploy:
deployment_group: notifications-api-celery deployment_group: notifications-api-celery
region: eu-west-1 region: eu-west-1
on: *2 on: *2
branch: staging
before_deploy: before_deploy:
- ./scripts/update_version_file.sh - ./scripts/update_version_file.sh
- zip -r notifications-api * - zip -r notifications-api *