Skip to content

Commit 3fc37be

Browse files
committed
add env variables to validate event sources workflow, remove wheels directory copy from Dockerfile
1 parent 01bef09 commit 3fc37be

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/validate-event-sources.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,17 @@ jobs:
1111
defaults:
1212
run:
1313
working-directory: backend/scripts
14+
env:
15+
PRODUCTION: '1'
16+
DJANGO_SETTINGS_MODULE: 'config.settings.development'
17+
DATABASE_URL: ${{ secrets.SUPABASE_DB_URL }}
18+
POSTGRES_DB: ${{ secrets.POSTGRES_DB }}
19+
POSTGRES_USER: ${{ secrets.POSTGRES_USER }}
20+
POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }}
21+
POSTGRES_HOST: ${{ secrets.POSTGRES_HOST }}
22+
POSTGRES_PORT: ${{ secrets.POSTGRES_PORT }}
23+
SECRET_KEY: ${{ secrets.SECRET_KEY }}
24+
1425
steps:
1526
- name: Checkout repository
1627
uses: actions/checkout@v4

backend/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ WORKDIR /app
1010

1111
# Copy requirements files and wheels directory
1212
COPY requirements.txt .
13-
COPY wheels/ ./wheels/
1413

1514
# Install Python dependencies
1615
RUN pip install --upgrade pip

0 commit comments

Comments
 (0)