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

feil filnavn for template

parent 2cd8534d
No related branches found
No related tags found
No related merge requests found
...@@ -23,11 +23,11 @@ deploy: ...@@ -23,11 +23,11 @@ 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/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} - aws cloudformation wait stack-update-complete --stack-name ${STACK_NAME}
- else - else
- echo "creating stack" - 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} - aws cloudformation wait stack-create-complete --stack-name ${STACK_NAME}
- fi - fi
- aws s3 rm "s3://${STACK_NAME}.aws.uib.no" --recursive - aws s3 rm "s3://${STACK_NAME}.aws.uib.no" --recursive
......
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