Skip to content

Commit

Permalink
Update django.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafa13io authored May 23, 2024
1 parent 52c638e commit ff3e8f1
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,25 @@ jobs:
build_and_test_backend:
name: Run, build and test backend
env:
SECRET_KEY: ${{ secrets.SECRET_KEY }}
POSTGRES_USER: ${{ secrets.POSTGRES_USER }}
POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }}
POSTGRES_DB: ${{ secrets.POSTGRES_DB }}
POSTGRES_HOST: 127.0.0.1
POSTGRES_PORT: ${{ secrets.POSTGRES_PORT }}
REDIS_CELERY: ${{ secrets.REDIS_CELERY }}
REDIS_CACHE: ${{ secrets.REDIS_CACHE }}
DJANGO_SETTINGS_MODULE: ${{ secrets.DJANGO_SETTINGS_MODULE }}
SECRET_KEY: django-insecure-n$e-qm6#6@du0=+^v0d%eeg84l6=g!o$4c%awh+yh0--gpx_h8
POSTGRES_USER: POSTGRES_USER
POSTGRES_PASSWORD: POSTGRES_PASSWORD
POSTGRES_DB: POSTGRES_DB
POSTGRES_HOST: localhost
POSTGRES_PORT: 5432
REDIS_CELERY: localhost
REDIS_CACHE: localhost
DJANGO_SETTINGS_MODULE: concertify.settings
runs-on: ubuntu-latest
services:
database:
image: postgres:latest
ports:
- 5432:5432
env:
POSTGRES_USER: ${{ secrets.POSTGRES_USER }}
POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }}
POSTGRES_DB: ${{ secrets.POSTGRES_DB }}
POSTGRES_USER: POSTGRES_USER
POSTGRES_PASSWORD: POSTGRES_PASSWORD
POSTGRES_DB: POSTGRES_DB
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
redis_cache:
image: redis:latest
Expand Down

0 comments on commit ff3e8f1

Please sign in to comment.