aboutsummaryrefslogtreecommitdiff
path: root/scripts/ci/deploy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/ci/deploy.sh')
-rwxr-xr-xscripts/ci/deploy.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ci/deploy.sh b/scripts/ci/deploy.sh
index 0383911..08cfd9c 100755
--- a/scripts/ci/deploy.sh
+++ b/scripts/ci/deploy.sh
@@ -65,7 +65,7 @@ terraform --version
terraform init
echo "Done."
-if [[ "${DESTROY_VOLUME:-}" != "" ]]; then
+if [[ "${DESTROY_VPS:-}" != "" ]]; then
echo "Destroying existing infrastructure..."
terraform destroy -input=false -auto-approve > ./logs/terraform-destroy.txt 2>&1
else