diff --git a/publish.sh b/publish.sh new file mode 100755 index 0000000..d96ebb7 --- /dev/null +++ b/publish.sh @@ -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 + +}