diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5ce7ded0eb464cf041367a4fe46b7b4bcd384e99..db58269a2ea3ac141343aa22b20d263a4da9c0a1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,7 +24,7 @@ deploy: - if aws cloudformation describe-stacks --stack-name ${STACK_NAME} &> /dev/null - then - 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} - else - echo "creating stack"