delphi.market/deploy.sh

11 lines
202 B
Bash
Raw Normal View History

2023-09-09 20:52:50 +00:00
#!/usr/bin/env bash
set -e
rsync -avh public/ vps:/var/www/delphi --delete --dry-run
echo
read -p "Continue deploy? [yn] " yn
echo
[ "$yn" == "y" ] && rsync -avh public/ vps:/var/www/delphi --delete