Skip to content

Commit

Permalink
ci: Adding env reading
Browse files Browse the repository at this point in the history
  • Loading branch information
bush1D3v committed Jun 18, 2024
1 parent e81a49a commit 2db98d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2db98d9

Please sign in to comment.