This commit is contained in:
Dobromir Popov
2024-07-07 01:46:28 +03:00
parent d77b4b4bfb
commit 1f56d4cb3a

View File

@ -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"