From ffca3ad315f9046ba7143976925ed96fe8206413 Mon Sep 17 00:00:00 2001 From: rene Date: Sun, 17 May 2026 18:51:54 +0200 Subject: [PATCH] =?UTF-8?q?Fix:=20.env=20mit=20BREVO=5FKEY=20automatisch?= =?UTF-8?q?=20auf=20DS=20=C3=BCbertragen=20beim=20deploy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index af3d0da..ecd70ec 100644 --- a/Makefile +++ b/Makefile @@ -62,6 +62,10 @@ check-ssh: deploy: check-ssh @echo "→ Sync zu DS..." @COPYFILE_DISABLE=1 tar czf - $(TAR_EXCLUDE) . | ssh $(DS_HOST) "tar xzf - -C $(DS_PATH)/" + @echo "→ .env auf DS aktualisieren..." + @if [ -f .env ]; then \ + grep BREVO_KEY .env | ssh $(DS_HOST) "cat > $(DS_PATH)/.env"; \ + fi @echo "→ PocketBase Hooks synchronisieren..." @for f in $(HOOKS_SRC)/*.pb.js; do \ cat "$$f" | ssh $(DS_HOST) "cat > $(HOOKS_DST)/$$(basename $$f)"; \