fix: exclude /public/content/permits and /public/content/uploads from being overwritten during deployment

This commit is contained in:
Dobromir Popov (aider)
2024-09-17 10:42:46 +03:00
parent c1338ed11e
commit 715530ebdd

View File

@ -39,6 +39,8 @@ if [ "$UPDATE_CODE_FROM_GIT" = "true" ]; then
rsync -av --itemize-changes \
--exclude='package.json' \
--exclude='package-lock.json' \
--exclude='/public/content/permits' \
--exclude='/public/content/uploads' \
/tmp/clone/ /app/ >> /app/logs/deploy.txt 2>&1
# Check rsync exit status