From d8e8457e05275d741d3b81dc4552bb6ae75c53f0 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 11 Jun 2019 18:32:28 -0300 Subject: Don't fail when =terraform apply= is a noop --- scripts/ci/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/ci/deploy.sh') diff --git a/scripts/ci/deploy.sh b/scripts/ci/deploy.sh index 8d514ba..f742b38 100755 --- a/scripts/ci/deploy.sh +++ b/scripts/ci/deploy.sh @@ -89,7 +89,7 @@ echo "Done." echo "Storing .tfstate file..." pushd ../vps-state/ git add secrets/terraform.tfstate secrets/terraform.tfstate.backup -git commit -m "CI: update Terraform .tfstate files for CI run ${VPS_COMMIT_SHA}" +git commit -m "CI: update Terraform .tfstate files for CI run ${VPS_COMMIT_SHA}" --allow-empty git push origin master popd echo "Done." -- cgit v1.2.3