diff --git a/exclude.list b/exclude.list new file mode 100644 index 0000000..0b977cf --- /dev/null +++ b/exclude.list @@ -0,0 +1,4 @@ +**.svn +**.gitignore +**.lck + diff --git a/pubblica_stage.sh b/pubblica_stage.sh new file mode 100755 index 0000000..1487687 --- /dev/null +++ b/pubblica_stage.sh @@ -0,0 +1,14 @@ +#!/bin/bash + + +echo "STC Labs Build per STAGE" + +hugo build + + +echo "Pronto all'invio" +read -p "Press [Enter] key to start..." + +echo "STC Labs - STAGE" +rsync -aztv -e "ssh -l webmaster web1.codeguru.it" --exclude-from exclude.list ./public/* :/usr/local/www/stclabs/public_html/ +