From 9430af6679564d80d5b5941739c078db3bf7f232 Mon Sep 17 00:00:00 2001 From: Carifio24 Date: Sat, 28 Sep 2024 13:48:34 -0400 Subject: [PATCH] Use secrets as environment variables in workflow. --- .github/workflows/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a37bbff..c9a5915 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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