From cea6f7a5ecee6576bd6aacd1122d2010d1b0d4af Mon Sep 17 00:00:00 2001 From: tungkhanhh Date: Sun, 29 Sep 2024 23:29:57 +1000 Subject: [PATCH] feat: add database env to GitHub Actions --- .github/workflows/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f309413..528cc73 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -39,6 +39,10 @@ jobs: run: | cd backend mvn -B package --file pom.xml + env: + QUARKUS_DATASOURCE_USERNAME: ${{secrets.QUARKUS_DATASOURCE_USERNAME}} + QUARKUS_DATASOURCE_PASSWORD: ${{secrets.QUARKUS_DATASOURCE_PASSWORD}} + QUARKUS_DATASOURCE_JDBC_URL: ${{secrets.QUARKUS_DATASOURCE_JDBC_URL}} deploy: