2022-11-07 22:32:06 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -exuo pipefail
|
2022-11-07 23:14:06 +01:00
|
|
|
. 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/"
|
|
|
|
# TODO: Je OK tady zapínat venv přímo takhle, nebo by to taky mělo být enkapsulováno do nějakého skriptu (e.g. make/deploy/collect_static)?
|
2022-11-14 21:37:01 +01:00
|
|
|
ssh "$GIMLI_LOGIN" "cd $TESTWEB && . env/bin/activate && ./manage.py collectstatic --noinput"
|