Skip to content

Commit

Permalink
env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
elman23 committed Sep 26, 2023
1 parent 21fccb1 commit 572db4c
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,17 @@ on:

jobs:
job1:
environment:
name: testing
env:
DATABASE_HOSTNAME: localhost
DATABASE_PORT: 5432
DATABASE_PASSWORD: root
DATABASE_NAME: fastapi
DATABASE_USERNAME: root
SECRET_KEY: 09d25e094faa2556c818166b7a99f6f0f4c3b88e8d3e7
ALGORITHM: HS256
ACCESS_TOKEN_EXPIRE_MINUTES: 60
DATABASE_HOSTNAME: ${{DATABASE_HOSTNAME}}
DATABASE_PORT: ${{DATABASE_PORT}}
DATABASE_PASSWORD: ${{DATABASE_PASSWORD}}
DATABASE_NAME: ${{DATABASE_NAME}}
DATABASE_USERNAME: ${{DATABASE_USERNAME}}
SECRET_KEY: ${{SECRET_KEY}}
ALGORITHM: ${{ALGORITHM}}
ACCESS_TOKEN_EXPIRE_MINUTES: ${{ACCESS_TOKEN_EXPIRE_MINUTES}}
runs-on: ubuntu-latest
steps:
- name: Pulling git repo
Expand Down

0 comments on commit 572db4c

Please sign in to comment.