From 1f56d4cb3a4070f58500c30bcef05f0ca7c4bb08 Mon Sep 17 00:00:00 2001 From: Dobromir Popov Date: Sun, 7 Jul 2024 01:46:28 +0300 Subject: [PATCH] next try --- _deploy/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_deploy/entrypoint.sh b/_deploy/entrypoint.sh index f6247a5..598b3c9 100644 --- a/_deploy/entrypoint.sh +++ b/_deploy/entrypoint.sh @@ -14,7 +14,7 @@ if [ "$UPDATE_CODE_FROM_GIT" = "true" ]; then # Synchronize all files except package.json, package-lock.json, and the contents of /public/content # rsync -av --filter='P /public/content/' --exclude 'package.json' --exclude 'package-lock.json' /tmp/clone/ /app/ || echo "Rsync failed: Issue synchronizing files" - rsync -av --delete --exclude 'package.json' --exclude 'package-lock.json' --exclude 'public/content/*' /tmp/clone/ /app/ || echo "Rsync failed: Issue synchronizing files" + rsync -av --filter='P /public/content/*' --exclude 'public/content/* --exclude 'package.json' --exclude 'package-lock.json' ' /tmp/clone/ /app/ || echo "Rsync failed: Issue synchronizing files"