4f7c4057ea
Thanks shellcheck
9 lines
453 B
Bash
Executable file
9 lines
453 B
Bash
Executable file
#!/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/"
|
|
# 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)?
|
|
ssh "$GIMLI_LOGIN" "cd $TESTWEB && . env/bin/activate && ./manage.py collectstatic --noinput"
|