diff --git a/.github/workflows/api.yml b/.github/workflows/api.yml index 3e47111..6b4deed 100644 --- a/.github/workflows/api.yml +++ b/.github/workflows/api.yml @@ -54,7 +54,7 @@ jobs: - name: Run migrations run: | - export DATABASE_URL=postgres://${{ vars.DB_USER }}:${{ vars.DB_PASSWORD }}@${{ vars.BASE_URL }}:${{ vars.HTTP_PORT }}/${{ vars.DB_NAME }} + export DATABASE_URL=${{ vars.DB_USER }}://${{ vars.DB_USER }}:${{ vars.DB_PASSWORD }}@${{ vars.DB_HOST }}:${{ vars.DB_PORT }}/${{ vars.DB_NAME }} diesel migration run - name: Build