Skip to content

Commit

Permalink
trying to fix vars
Browse files Browse the repository at this point in the history
  • Loading branch information
elman23 committed Sep 26, 2023
1 parent 8a30069 commit 8aa9dd2
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,20 @@ jobs:
environment:
name: testing
env:
DATABASE_HOSTNAME: ${{secrets.DATABASE_HOSTNAME}}
DATABASE_PORT: ${{secrets.DATABASE_PORT}}
DATABASE_PASSWORD: ${{secrets.DATABASE_PASSWORD}}
DATABASE_NAME: ${{secrets.DATABASE_NAME}}
DATABASE_USERNAME: ${{secrets.DATABASE_USERNAME}}
SECRET_KEY: ${{secrets.SECRET_KEY}}
ALGORITHM: ${{secrets.ALGORITHM}}
ACCESS_TOKEN_EXPIRE_MINUTES: ${{secrets.ACCESS_TOKEN_EXPIRE_MINUTES}}
DATABASE_HOSTNAME: ${{vars.DATABASE_HOSTNAME}}
DATABASE_PORT: ${{vars.DATABASE_PORT}}
DATABASE_PASSWORD: ${{vars.DATABASE_PASSWORD}}
DATABASE_NAME: ${{vars.DATABASE_NAME}}
DATABASE_USERNAME: ${{vars.DATABASE_USERNAME}}
SECRET_KEY: ${{vars.SECRET_KEY}}
ALGORITHM: ${{vars.ALGORITHM}}
ACCESS_TOKEN_EXPIRE_MINUTES: ${{vars.ACCESS_TOKEN_EXPIRE_MINUTES}}
services:
postgres:
image: postgres
env:
POSTGRES_PASSWORD: ${{secrets.DATABASE_PASSWORD}}
POSTGRES_DB: ${{secrets.DATABASE_NAME}}
POSTGRES_PASSWORD: ${{vars.DATABASE_PASSWORD}}
POSTGRES_DB: ${{vars.DATABASE_NAME}}
ports:
- 5432:5432
options: >-
Expand Down

0 comments on commit 8aa9dd2

Please sign in to comment.