diff --git a/.github/workflows/django-test-deploy-master.yaml b/.github/workflows/django-test-deploy-master.yaml index 3f6e80ef..d6df621b 100644 --- a/.github/workflows/django-test-deploy-master.yaml +++ b/.github/workflows/django-test-deploy-master.yaml @@ -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