diff --git a/clevercloud/pre_build.sh b/clevercloud/pre_build.sh new file mode 100644 index 00000000..fc938999 --- /dev/null +++ b/clevercloud/pre_build.sh @@ -0,0 +1,2 @@ +git clone "$ITOU_SECRETS_HTTPS_REPO_URL" secrets-vault +sops -d secrets-vault/c1/"$ENVIRONMENT".enc.env > .env diff --git a/clevercloud/pre_run.sh b/clevercloud/pre_run.sh new file mode 100644 index 00000000..2543050e --- /dev/null +++ b/clevercloud/pre_run.sh @@ -0,0 +1,4 @@ +cd secrets-vault || exit +git pull +cd - || exit +sops -d secrets-vault/c1/"$ENVIRONMENT".enc.env > .env