diff --git a/.github/workflows/django.yml b/.github/workflows/django.yml index fd9a7c2..6c05074 100644 --- a/.github/workflows/django.yml +++ b/.github/workflows/django.yml @@ -12,8 +12,8 @@ jobs: SECRET_KEY: ${{ secrets.SECRET_KEY }} POSTGRES_USER: ${{ secrets.POSTGRES_USER }} POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }} - POSTGRES_DB: ${{ secrets.POSTGRES_DB }} - POSTGRES_HOST: ${{ secrets.POSTGRES_HOST }} + POSTGRES_DB: "POSTGRES_DB" + POSTGRES_HOST: "localhost" POSTGRES_PORT: ${{ secrets.POSTGRES_PORT }} REDIS_CELERY: ${{ secrets.REDIS_CELERY }} REDIS_CACHE: ${{ secrets.REDIS_CACHE }} @@ -27,7 +27,7 @@ jobs: env: POSTGRES_USER: "${{ secrets.POSTGRES_USER }}" POSTGRES_PASSWORD: "${{ secrets.POSTGRES_PASSWORD }}" - POSTGRES_DB: "${{ secrets.POSTGRES_DB }}" + POSTGRES_DB: "POSTGRES_DB" options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 redis_cache: image: redis:latest