parent
0ed180375e
commit
7f8e7f0c99
25 changed files with 261 additions and 530 deletions
|
|
@ -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}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue