From 5457b8013a0bd89ee4685202c38eff54971661ab Mon Sep 17 00:00:00 2001 From: Maurizio Date: Wed, 11 Feb 2026 22:18:18 +0100 Subject: [PATCH] Script di pubblicazione in stage --- exclude.list | 4 ++++ pubblica_stage.sh | 14 ++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 exclude.list create mode 100755 pubblica_stage.sh 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/ +