aboutsummaryrefslogtreecommitdiff
path: root/scripts/ci/provision.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2019-06-05 20:22:09 -0300
committerEuAndreh <eu@euandre.org>2019-06-05 20:22:09 -0300
commit58d869f3ca3c980897e62cef55cda4fdf932affb (patch)
tree275f0bb6ceae93f5de4e6c2ebcfc206023600161 /scripts/ci/provision.sh
parentAlways destroy infrastructure before applying (diff)
downloadserver-58d869f3ca3c980897e62cef55cda4fdf932affb.tar.gz
server-58d869f3ca3c980897e62cef55cda4fdf932affb.tar.xz
Add volume to VPS
Don't destroy everything on deploy. This would destroy the volume too.
Diffstat (limited to 'scripts/ci/provision.sh')
-rwxr-xr-xscripts/ci/provision.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/scripts/ci/provision.sh b/scripts/ci/provision.sh
index b72a0f5..1000a55 100755
--- a/scripts/ci/provision.sh
+++ b/scripts/ci/provision.sh
@@ -18,10 +18,6 @@ envsubst < ./scripts/box/run-backup.env.sh | ssh "$TLD" 'cat > /home/vps/run-bac
ssh "$TLD" /home/vps/run-backup.sh
echo "Done."
-echo "Destroying existing infrastructure..."
-terraform destroy -input=false -auto-approve
-echo "Done."
-
echo "Running 'terraform plan' and storing the planfile..."
terraform --version
terraform init