Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
d-beezee authored Apr 13, 2022
1 parent 2237c5c commit 0158de9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ echo "[default]
aws_access_key_id = ${AWS_ACCESS_KEY_ID}
aws_secret_access_key = ${AWS_SECRET_ACCESS_KEY}" > ~/.aws/credentials

EXECUTION_URL=$(aws codepipeline get-pipeline-state --name backoffice-app-production-code-pipeline | jq -r '.stageStates[] | select(.stageName=="Deploy") | .actionStates[] | select(.actionName=="ApplicationDeploy") | .latestExecution.externalExecutionUrl')
EXECUTION_URL=$(aws codepipeline get-pipeline-state --name ${PIPELINE_NAME} | jq -r '.stageStates[] | select(.stageName=="Deploy") | .actionStates[] | select(.actionName=="ApplicationDeploy") | .latestExecution.externalExecutionUrl')

rm -rf ~/.aws

Expand Down

0 comments on commit 0158de9

Please sign in to comment.