www-garbaye/publish.sh

12 lines
240 B
Bash
Raw Normal View History

2022-08-15 18:33:52 +00:00
#!/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
}