update: update_set_error para collectstatic
This commit is contained in:
parent
51b3d99985
commit
b185f287a2
1 changed files with 3 additions and 0 deletions
3
run.sh
3
run.sh
|
|
@ -325,6 +325,9 @@ execute_collec_mig_createsup() {
|
|||
mkdir -p /home/$USERNAME/$APP/staticfiles &&
|
||||
/home/$USERNAME/$APP/$VENV/bin/python3 /home/$USERNAME/$APP/manage.py collectstatic --noinput &&
|
||||
/home/$USERNAME/$APP/$VENV/bin/python3 /home/$USERNAME/$APP/manage.py migrate
|
||||
if [[ $? -ge 1 ]]; then
|
||||
update_step_error "$x"
|
||||
fi
|
||||
}
|
||||
|
||||
# Instala o firewall
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue