Skip to content

Commit

Permalink
fix: fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MaBlaGit committed Aug 5, 2024
1 parent a131545 commit 2c154e7
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ jobs:
build-and-test:
runs-on: ubuntu-latest

env:
POSTGRES_USER: ${{ secrets.POSTGRES_USER }}
POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }}
DATABASE_URL: "postgresql://${{ secrets.POSTGRES_USER }}:${{ secrets.POSTGRES_PASSWORD }}@localhost:5432/fact?schema=public"
URL_DEV: "http://127.0.0.1"
PORT: 3000

services:
postgres:
image: postgres:10.3
Expand All @@ -26,11 +33,6 @@ jobs:
--health-timeout=5s
--health-retries=5
env:
DATABASE_URL: "postgresql://${{ secrets.POSTGRES_USER }}:${{ secrets.POSTGRES_PASSWORD }}@localhost:5432/fact?schema=public"
URL_DEV: "http://127.0.0.1"
PORT: 3000

steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand Down

0 comments on commit 2c154e7

Please sign in to comment.