Refactor script building / add to gitignore / 2 new scripts
This commit is contained in:
13
scripts/local-remote.sh
Normal file
13
scripts/local-remote.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
sshpass -p "${SERVER_PASSWORD}" \
|
||||
rsync -avzu --delete \
|
||||
--exclude .git \
|
||||
--exclude .vscode \
|
||||
--exclude .DS_Store \
|
||||
--exclude node_modules \
|
||||
--exclude vendor \
|
||||
--exclude storage \
|
||||
--exclude uploads \
|
||||
--exclude temp \
|
||||
--exclude cache \
|
||||
--exclude sitepress-multilingual-cms \
|
||||
-e ssh . "${SERVER_USER}@${SERVER_HOST}:${SERVER_PATH}"
|
||||
Reference in New Issue
Block a user