Skip to content

Commit

Permalink
Fix production venv path
Browse files Browse the repository at this point in the history
  • Loading branch information
John Solly committed Jul 28, 2023
1 parent 61b33ff commit cccc9de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/django-test-deploy-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ jobs:
script: |
cd blogthedata
git pull
source venv/bin/activate
# Production is using a different venv path
source django_project/venv/bin/activate
python3 django_project/manage.py collectstatic --noinput
sudo systemctl restart gunicorn

0 comments on commit cccc9de

Please sign in to comment.