mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-01-22 07:38:09 +00:00
fixing not setting the server for creating a command in a channel adding exceptions for incorrect channel group type
22 lines
410 B
Bash
22 lines
410 B
Bash
#!/bin/sh
|
|
|
|
DEPLOY_LIQUIBASE=no
|
|
DEPLOY_TEMPLATES=no
|
|
|
|
echo "Starting deployment."
|
|
|
|
if [ "x$EXECUTE_LIQUIBASE" = 'xtrue' ]; then
|
|
DEPLOY_LIQUIBASE=yes
|
|
fi
|
|
|
|
if [ "x$EXECUTE_TEMPLATES" = 'xtrue' ]; then
|
|
DEPLOY_TEMPLATES=yes
|
|
fi
|
|
exit_code=0
|
|
if [ "x$EXECUTE_DEPLOYMENT" = 'xtrue' ]; then
|
|
python3 -u python/main.py $DEPLOY_TEMPLATES $DEPLOY_LIQUIBASE
|
|
exit_code=$?
|
|
fi
|
|
|
|
echo "Finished deployment."
|
|
exit $exit_code |