From bb0ac8b546efd70fbe28f38665492a3c406fc48c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Volds=C3=A6ter?= <ole.voldsater@uib.no> Date: Thu, 13 Feb 2020 10:10:23 +0100 Subject: [PATCH] feil filnavn for template --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fa7e3d52..9a24120a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,11 +23,11 @@ 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/api.yaml + - aws cloudformation update-stack --stack-name ${STACK_NAME} --template-body file://aws/beta.ordbok.uib.no_stack.yaml - aws cloudformation wait stack-update-complete --stack-name ${STACK_NAME} - else - echo "creating stack" - - aws cloudformation create-stack --stack-name ${STACK_NAME} --template-body file://aws/api.yaml + - aws cloudformation create-stack --stack-name ${STACK_NAME} --template-body file://aws/beta.ordbok.uib.no_stack.yaml - aws cloudformation wait stack-create-complete --stack-name ${STACK_NAME} - fi - aws s3 rm "s3://${STACK_NAME}.aws.uib.no" --recursive -- GitLab