From 936e25e1627867fc62e15a20362eb8543cf2d0a5 Mon Sep 17 00:00:00 2001 From: Thomas Peterson Date: Mon, 8 Jun 2026 19:37:00 +0200 Subject: [PATCH] =?UTF-8?q?Deploy:=20git=20safe.directory=20f=C3=BCr=20Rol?= =?UTF-8?q?lout=20setzen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.8 --- deploy/terraform/deploy.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/deploy/terraform/deploy.tf b/deploy/terraform/deploy.tf index fbb3fc3..663f386 100644 --- a/deploy/terraform/deploy.tf +++ b/deploy/terraform/deploy.tf @@ -21,6 +21,7 @@ resource "terraform_data" "app_deploy" { inline = [ "set -e", "cd /opt/vcard4", + "git config --global --add safe.directory /opt/vcard4", "git fetch --depth 1 origin ${var.repo_branch}", "git reset --hard origin/${var.repo_branch}", "DOMAIN='${var.domain}' RUN_MIGRATIONS='${count.index == 0 ? "true" : "false"}' bash /opt/vcard4/deploy/update.sh",