kilabor/deploy.sh

17 lines
487 B
Bash
Raw Normal View History

2026-03-26 22:00:03 +00:00
#!/bin/bash
echo ">> INITIATING SLIPSPACE DEPLOYMENT TO WEBSPACE..."
expect -c '
set timeout -1
spawn rsync -avz --exclude=".git" --exclude="node_modules" -e "ssh -o StrictHostKeyChecking=accept-new" /Users/sascha/wp-ki-labor/html/wp-content/themes/ki-labor/ su72785@access-5019642512.webspace-host.com:~/public/wp-content/themes/ki-labor/
expect {
"*?assword:*" {
send "Jessilein@74\r"
exp_continue
}
eof
}
'
echo ">> DEPLOYMENT COMPLETE. SYSTEM IN SYNC."