diff --git a/.github/workflows/deploy_prod_api.yml b/.github/workflows/deploy_prod_api.yml index 430a5623..1c1c0197 100644 --- a/.github/workflows/deploy_prod_api.yml +++ b/.github/workflows/deploy_prod_api.yml @@ -42,6 +42,9 @@ jobs: python3 manage.py migrate python3 manage.py collectstatic -link --noinput sudo systemctl restart nginx + nohup sh -c 'gunicorn -w 4 marketplace.wsgi:application > gunicorn.out 2>&1' & echo -ne '\n' + nohup sh -c 'celery -A marketplace worker -l info > celery_worker.out 2>&1' & echo -ne '\n' + nohup sh -c 'celery -A marketplace beat -l info > celery_beat.out 2>&1' & echo -ne '\n' - name: Remove Github Actions IP from security group