fix: add env for google client id & secret

This commit is contained in:
Lin, Hung-Shin committed 2023-10-05 12:25:42 +08:00
1 parent 9ac7fc9752
commit aac1592957
3 files changed
+7

No files matched your search

+3
View File
@@ -37,6 +37,9 @@ jobs:
run: docker-compose -f docker-compose.testing.yml build helloworld
- name: Run Cypress Tests
env:
GOOGLE_CLIENT_ID: ${{ secrets.GOOGLE_CLIENT_ID }}
GOOGLE_CLIENT_SECRET: ${{ secrets.GOOGLE_CLIENT_SECRET }}
run: docker-compose -f docker-compose.testing.yml run cypress
- name: Tear Down Test Environment
+2
View File
@@ -20,6 +20,8 @@ services:
- players
volumes:
- /var/run/docker.sock:/var/run/docker.sock
env_file:
- .env
environment:
- MONGO_URL=mongodb://user:user-password@db:27017/odyssey-test
- DOCKER_NETWORK=linux-odyssey-players
+2
View File
@@ -36,6 +36,8 @@ services:
- players
volumes:
- /var/run/docker.sock:/var/run/docker.sock
env_file:
- .env
environment:
- MONGO_URL=mongodb://user:user-password@db-test:27017/odyssey-test
- DOCKER_NETWORK=linux-odyssey-players