Script di pubblicazione in stage

This commit is contained in:
Maurizio
2026-02-11 22:18:18 +01:00
parent 6a89728047
commit 5457b8013a
2 changed files with 18 additions and 0 deletions

14
pubblica_stage.sh Executable file
View File

@ -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/