Web M&M
https://mam.matfyz.cz
14 lines
333 B
14 lines
333 B
#!/bin/bash
|
|
|
|
set -exuo pipefail
|
|
. make/lib.sh
|
|
|
|
scp vue_frontend/webpack-stats.json "$GIMLI_LOGIN:$TESTWEB/vue_frontend/"
|
|
rsync -ave ssh seminar/static/seminar/vue "$GIMLI_LOGIN:$TESTWEB/seminar/static/seminar/"
|
|
ssh "$GIMLI_LOGIN" "
|
|
set -euxo pipefail
|
|
cd $TESTWEB
|
|
. make/lib.sh
|
|
ensure_venv
|
|
./manage.py collectstatic --noinput
|
|
"
|
|
|