www-garbaye/publish.sh
2022-08-15 20:33:52 +02:00

12 lines
240 B
Bash
Executable file

#!/usr/bin/env bash
[[ -d ./public ]] && rm -rf ./public
zola build && {
for webserver in aspire-7250 backdrifts; do
rsync -P -rvzc --include tags --cvs-exclude --delete "public/" "root@${webserver}:/var/www/html/garbaye.fr"
done
}