Add publish script

This commit is contained in:
KsmoinO 2022-08-15 20:33:52 +02:00
parent 366d55dffb
commit 98f8f0efc5

11
publish.sh Executable file
View file

@ -0,0 +1,11 @@
#!/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
}