From 6acdf768b4d2402afe6ad895e492bb2a95cec7a1 Mon Sep 17 00:00:00 2001 From: Jacob Coffee Date: Thu, 19 Sep 2024 16:27:36 -0500 Subject: [PATCH] fix: use new path ? --- .github/workflows/static.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index a2bde7ae6..47fce4c88 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -26,4 +26,6 @@ jobs: pip install -r requirements/requirements.txt -r requirements/prod-requirements.txt - name: Run Tests run: | - DJANGO_SETTINGS_MODULE=app.pydotorg.settings.static python ./app/manage.py collectstatic --noinput + export PYTHONPATH=$PYTHONPATH:${{ github.workspace }}/app + cd app + DJANGO_SETTINGS_MODULE=app.pydotorg.settings.static python manage.py collectstatic --noinput