Skip to content

Commit

Permalink
addong commands to restart django and celery
Browse files Browse the repository at this point in the history
  • Loading branch information
varsha1305nav committed Apr 4, 2024
1 parent bebc6c9 commit 3e5f37f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deploy_prod_api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3e5f37f

Please sign in to comment.