2023-11-19 10:37:45 -05:00
|
|
|
FRONTEND_VERSION=$(shell jq -rc ".frontend_version" ../versions.json)
|
|
|
|
WEBHOOK_VERSION=$(shell jq -rc ".webhook_version" ../versions.json)
|
|
|
|
|
2023-11-23 09:05:44 -05:00
|
|
|
replace: SHELL := /bin/bash
|
|
|
|
replace:
|
2023-11-19 10:37:45 -05:00
|
|
|
sed -i -Ee "s/(webhook_service_tag = \").*(\")/\1$(WEBHOOK_VERSION)\2/g" terraform.tfvars
|
|
|
|
sed -i -Ee "s/(frontend_service_tag = \").*(\")/\1$(FRONTEND_VERSION)\2/g" terraform.tfvars
|
2023-11-23 09:05:44 -05:00
|
|
|
|
|
|
|
deploy: SHELL := /bin/bash
|
|
|
|
deploy: replace
|
2023-10-23 22:01:09 -04:00
|
|
|
tofu apply
|
2023-11-23 09:05:44 -05:00
|
|
|
|
|
|
|
deploy-yes: SHELL := /bin/bash
|
|
|
|
deploy-yes: replace
|
|
|
|
tofu apply -auto-approve
|