Skip to content

Commit

Permalink
fix: use new path ?
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobCoffee committed Sep 19, 2024
1 parent 197b9c2 commit 4695fc6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
pip install -r requirements/requirements.txt -r requirements/prod-requirements.txt
- name: Run Tests
run: |
DJANGO_SETTINGS_MODULE=pydotorg.settings.static python ./app/manage.py collectstatic --noinput
DJANGO_SETTINGS_MODULE=app.pydotorg.settings.static python ./app/manage.py collectstatic --noinput
2 changes: 1 addition & 1 deletion Dockerfile.cabotage
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ RUN --mount=type=cache,target=/root/.cache/pip \
install \
-r requirements.txt -r prod-requirements.txt
COPY . /code/
RUN DJANGO_SETTINGS_MODULE=pydotorg.settings.static python app/manage.py collectstatic --noinput
RUN DJANGO_SETTINGS_MODULE=app.pydotorg.settings.static python app/manage.py collectstatic --noinput
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:
- "8000:8000"
environment:
DATABASE_URL: postgresql://pythondotorg:pythondotorg@postgres:5432/pythondotorg
DJANGO_SETTINGS_MODULE: pydotorg.settings.local
DJANGO_SETTINGS_MODULE: app.pydotorg.settings.local
depends_on:
postgres:
condition: service_healthy
Expand All @@ -46,7 +46,7 @@ services:
- .:/code
environment:
DATABASE_URL: postgresql://pythondotorg:pythondotorg@postgres:5432/pythondotorg
DJANGO_SETTINGS_MODULE: pydotorg.settings.local
DJANGO_SETTINGS_MODULE: app.pydotorg.settings.local
depends_on:
postgres:
condition: service_healthy
Expand Down

0 comments on commit 4695fc6

Please sign in to comment.