fix rsync excludes: skip caddy, gitignore, README
This commit is contained in:
1 parent
93e395fded
commit
a76116608d
1 file changed
+3
@@ -69,7 +69,10 @@ if [[ "$DO_SSH" -eq 1 ]]; then
|
|||||||
rsync -av --delete \
|
rsync -av --delete \
|
||||||
--exclude='.git' \
|
--exclude='.git' \
|
||||||
--exclude='.env' \
|
--exclude='.env' \
|
||||||
|
--exclude='.gitignore' \
|
||||||
--exclude='deploy.sh' \
|
--exclude='deploy.sh' \
|
||||||
|
--exclude='caddy/' \
|
||||||
|
--exclude='README.md' \
|
||||||
"$SCRIPT_DIR/" "${DEPLOY_HOST}:${DEPLOY_PATH}/"
|
"$SCRIPT_DIR/" "${DEPLOY_HOST}:${DEPLOY_PATH}/"
|
||||||
echo "→ SSH: synced to ${DEPLOY_HOST}:${DEPLOY_PATH}"
|
echo "→ SSH: synced to ${DEPLOY_HOST}:${DEPLOY_PATH}"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in new issue
Block a user