Script di pubblicazione in stage
This commit is contained in:
4
exclude.list
Normal file
4
exclude.list
Normal file
@ -0,0 +1,4 @@
|
||||
**.svn
|
||||
**.gitignore
|
||||
**.lck
|
||||
|
||||
14
pubblica_stage.sh
Executable file
14
pubblica_stage.sh
Executable 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/
|
||||
|
||||
Reference in New Issue
Block a user