refactor
This commit is contained in:
6
build/deploy.sh
Executable file → Normal file
6
build/deploy.sh
Executable file → Normal file
@@ -8,6 +8,6 @@ hash rsync 2>/dev/null || { echo >&2 "Error: rsync is not installed. Aborting.";
|
||||
[ -z "$SSH_IP" ] && { echo >&2 "Error: SSH_IP is missing. Aborting."; exit 1; }
|
||||
[ -z "$SSH_USER" ] && { echo >&2 "Error: SSH_USER is missing. Aborting."; exit 1; }
|
||||
|
||||
# Deploy theme with rsync
|
||||
rsync -e "ssh -o StrictHostKeyChecking=no" -avzuh --progress \
|
||||
theme/. $SSH_USER@$SSH_IP:~/windycoys_theme_$1
|
||||
# Deploy theme
|
||||
scp ./build/docker-compose.yml $SSH_USER@$SSH_IP:~/windycoys/
|
||||
scp -r ./dist $SSH_USER@$SSH_IP:~/windycoys/
|
||||
|
||||
Reference in New Issue
Block a user