Hugo site now

This commit is contained in:
Miguel Jacq 2026-01-06 09:51:05 +11:00
parent aceb297d4f
commit 995092af42
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9
34 changed files with 1309 additions and 85 deletions

View file

@ -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}"