add asset build and script excludes
This commit is contained in:
@@ -1,12 +1,23 @@
|
||||
sshpass -p "${SERVER_PASSWORD}" \
|
||||
rsync -avzu \
|
||||
`# Version control and editor files` \
|
||||
--exclude .vscode \
|
||||
--exclude .DS_Store \
|
||||
`# Dependencies` \
|
||||
--exclude node_modules \
|
||||
--exclude vendor \
|
||||
`# Dynamic content directories` \
|
||||
--exclude storage \
|
||||
--exclude uploads \
|
||||
--exclude temp \
|
||||
--exclude cache \
|
||||
--exclude sitepress-multilingual-cms \
|
||||
`# Project scripts` \
|
||||
--exclude ssh.sh \
|
||||
--exclude remote-local.sh \
|
||||
--exclude local-remote.sh \
|
||||
--exclude .build-cache \
|
||||
--exclude watch-build.sh \
|
||||
--exclude sftp-watch.sh \
|
||||
--exclude split-conflicts.sh \
|
||||
-e ssh "${SERVER_USER}@${SERVER_HOST}:${SERVER_PATH}" . # --exclude .git \
|
||||
|
||||
Reference in New Issue
Block a user