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"