Skip to content

Commit c5f9d8f

Browse files
committed
Attempt to fix github secret variable handling
1 parent 7880eb7 commit c5f9d8f

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

.github/workflows/docker-build.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,11 @@ jobs:
2323

2424
- name: Run Django tests
2525
env:
26-
SECRET_KEY: ${{ secrets.DJANGO_SECRET }},
27-
GITHUB_SECRET: ${{ secrets.GH_SECRET }},
28-
GITHUB_CLIENT: ${{ secrets.GH_CLIENT }},
29-
OAUTH_SECRET: ${{ secrets.OAUTH_SECRET }},
30-
OUATH_CLIENT: ${{ secrets.OUATH_CLIENT_ID }},
26+
DJANGO_SECRET: ${{ secrets.DJANGO_SECRET }}
27+
GITHUB_CLIENT: ${{ secrets.GH_CLIENT }}
28+
GITHUB_SECRET: ${{ secrets.GH_SECRET }}
3129
run: |
3230
docker compose -f docker/docker-compose.yml run --rm \
33-
-e SECRET_KEY=$SECRET_KEY \
3431
--workdir /backend/src backend python manage.py test
3532
3633
- name: Run Web tests

docker/docker-compose.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
services:
22
backend:
3-
env:
4-
DJANGO_SECRET: ${{ secrets.DJANGO_SECRET }}$
53
build:
64
context: ../api
75
dockerfile: ../docker/backend/dockerfile.backend

0 commit comments

Comments
 (0)