Add publish script
This commit is contained in:
parent
366d55dffb
commit
98f8f0efc5
11
publish.sh
Executable file
11
publish.sh
Executable 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
|
||||
|
||||
}
|
Loading…
Reference in a new issue