From 20d2ac330b1fe2f1afe0967195104bf82436b4a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Victor=20Jos=C3=A9=20Lopes=20Navarro?= Date: Mon, 17 Jun 2024 23:16:35 -0300 Subject: [PATCH] ci: Adding env reading --- .github/workflows/api.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/api.yml b/.github/workflows/api.yml index 6b4deed..8b88223 100644 --- a/.github/workflows/api.yml +++ b/.github/workflows/api.yml @@ -54,7 +54,7 @@ jobs: - name: Run migrations run: | - export DATABASE_URL=${{ vars.DB_USER }}://${{ vars.DB_USER }}:${{ vars.DB_PASSWORD }}@${{ vars.DB_HOST }}:${{ vars.DB_PORT }}/${{ vars.DB_NAME }} + export DATABASE_URL=postgres://${{ vars.DB_USER }}:${{ vars.DB_PASSWORD }}@${{ vars.DB_HOST }}:${{ vars.DB_PORT }}/${{ vars.DB_NAME }} diesel migration run - name: Build