Added variables for secrets
Some checks failed
ci/woodpecker/push/deploy Pipeline was successful
ci/woodpecker/manual/deploy Pipeline failed

This commit is contained in:
Oscar Blue 2022-12-03 04:03:46 +00:00
parent bd5ae17f3c
commit d994b5d850

View file

@ -1,5 +1,7 @@
CODE_PATH ?= . CODE_PATH ?= .
HETZNERKEY ?= . HETZNERKEY ?= .
B2ACCESS ?= .
B2SECRET ?= .
init: init:
@cd $(CODE_PATH) && terraform init -reconfigure -upgrade -backend-config="access_key=$(B2ACCESS)" -backend-config="secret_key=$(B2SECRET)" @cd $(CODE_PATH) && terraform init -reconfigure -upgrade -backend-config="access_key=$(B2ACCESS)" -backend-config="secret_key=$(B2SECRET)"