fix your wea

This commit is contained in:
Barbara Carrera
2022-10-28 17:24:17 -03:00
parent 8c8b211aa0
commit e60296b215

View File

@@ -3,7 +3,7 @@ set -e
SOURCE=/var/www/chevereto/
TARGET=/var/www/html/
EXCLUDE="\.git|\.DS_Store|\.well-known|\.vscode|\/app\/vendor|\/app\/env\.php|\/app\/importer\/jobs"
rsync --mkpath -a "${SOURCE}"app/vendor/ "${TARGET}"app/vendor/
[ -d "${SOURCE}"app/vendor/ ] && rsync --mkpath -a "${SOURCE}"app/vendor/ "${TARGET}"app/vendor
cp "${SOURCE}".gitignore "${TARGET}".gitignore
function sync() {
rsync -r -I -og \