Hugo site now
Some checks failed
CI / test (push) Failing after 1m37s

This commit is contained in:
Miguel Jacq 2026-01-06 09:08:28 +11:00
parent 0ed180375e
commit 7f8e7f0c99
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9
25 changed files with 261 additions and 530 deletions

View file

@ -5,8 +5,11 @@ set -eou pipefail
SRC="src"
DEST="/opt/www/enroll.sh"
cp -a ~/git/enroll/enroll/schema/state.schema.json src/schema/state.schema.json
DEBIAN_FRONTEND=noninteractive sudo apt-get install -y --no-install-recommends hugo
cp -a ~/git/enroll/enroll/schema/state.schema.json src/static/schema/state.schema.json
rsync -aHPvz ${SRC}/ root@lupin.mig5.net:${DEST}/
cd "${SRC}" && hugo
cd ../
rsync -aHPvz ${SRC}/public/ root@lupin.mig5.net:${DEST}/
ssh root@lupin.mig5.net "chown -R web:web ${DEST}"