Hugo site now
This commit is contained in:
parent
aceb297d4f
commit
995092af42
34 changed files with 1309 additions and 85 deletions
|
|
@ -5,6 +5,10 @@ set -eou pipefail
|
|||
SRC="src"
|
||||
DEST="/opt/www/cspresso.cafe"
|
||||
|
||||
rsync -aHPvz ${SRC}/ root@lupin.mig5.net:${DEST}/
|
||||
DEBIAN_FRONTEND=noninteractive sudo apt-get install -y --no-install-recommends hugo
|
||||
|
||||
cd "${SRC}" && hugo
|
||||
cd ../
|
||||
rsync -aHPvz ${SRC}/public/ root@lupin.mig5.net:${DEST}/
|
||||
|
||||
ssh root@lupin.mig5.net "chown -R web:web ${DEST}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue