Skip to content
Snippets Groups Projects
Commit 5721f82f authored by Ole Voldsæter's avatar Ole Voldsæter
Browse files

se exit-kode fra update-stack

parent ada5bcbb
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,7 @@ deploy: ...@@ -24,7 +24,7 @@ deploy:
- if aws cloudformation describe-stacks --stack-name ${STACK_NAME} &> /dev/null - if aws cloudformation describe-stacks --stack-name ${STACK_NAME} &> /dev/null
- then - then
- echo "stack exists" - echo "stack exists"
- aws cloudformation update-stack --stack-name ${STACK_NAME} --template-body file://aws/beta.ordbok.uib.no_stack.yaml --parameters ParameterKey=CertificateArn,ParameterValue=${CERT_ARN} - aws cloudformation update-stack --stack-name ${STACK_NAME} --template-body file://aws/beta.ordbok.uib.no_stack.yaml --parameters ParameterKey=CertificateArn,ParameterValue=${CERT_ARN} || echo $?
- aws cloudformation wait stack-update-complete --stack-name ${STACK_NAME} - aws cloudformation wait stack-update-complete --stack-name ${STACK_NAME}
- else - else
- echo "creating stack" - echo "creating stack"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment