aboutsummaryrefslogtreecommitdiff
path: root/scripts/ci
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-08-02 19:05:57 -0300
committerEuAndreh <eu@euandre.org>2020-08-02 19:06:10 -0300
commitd61067b52725874ccee43bfb9194034be944ab44 (patch)
treeeb7773931f5f91fc33303e5b804f2c0903bb2a68 /scripts/ci
parentToggle DESTROY_VOLUME (diff)
downloadtoph-d61067b52725874ccee43bfb9194034be944ab44.tar.gz
toph-d61067b52725874ccee43bfb9194034be944ab44.tar.xz
Rename DESTROY_VOLUME -> DESTROY_VPS
Diffstat (limited to 'scripts/ci')
-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