Skip to content

Commit

Permalink
drone: fix deploy call
Browse files Browse the repository at this point in the history
  • Loading branch information
Francisco Souza committed Jan 5, 2018
1 parent 3b88c38 commit 6f2219e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,10 @@ build:
- AWS_SECRET_ACCESS_KEY=$$NP_AWS_SECRET_ACCESS_KEY
- GITHUB_TOKEN=$$NP_GITHUB_TOKEN
- ASG_TOPIC=$$NP_ASG_TOPIC
- COMMIT=$${COMMIT:0:7}
commands:
- git clone --depth=1 https://[email protected]/$INFRA_REPO.git $NP_PATH
- go get github.com/${NP_REPO}
- np deploy transcoding-api:prd#$${COMMIT}
- np deploy transcoding-api:prd#$${COMMIT:0:7}
- aws autoscaling put-notification-configuration --auto-scaling-group-name transcoding-api-prd-$${COMMIT:0:7}-web --topic-arn ${ASG_TOPIC} --notification-types "autoscaling:EC2_INSTANCE_LAUNCH" "autoscaling:EC2_INSTANCE_LAUNCH_ERROR"
when:
event: tag
Expand Down

0 comments on commit 6f2219e

Please sign in to comment.