Skip to content

Commit

Permalink
Use secrets as environment variables in workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
Carifio24 committed Sep 28, 2024
1 parent ddb0f3b commit 9430af6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,8 @@ jobs:
run: npm run build

- name: Test
env:
DB_HOSTNAME: ${{ secrets.DB_HOSTNAME }}
DB_USERNAME: ${{ secrets.DB_USERNAME }}
DB_PASSWORD: ${{ secrets.DB_PASSWORD }}
run: npm run test

0 comments on commit 9430af6

Please sign in to comment.