www-garbaye/publish.sh
2023-11-17 13:24:46 +01:00

12 lines
235 B
Bash
Executable file

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