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 21, 2024
1 parent ebe0787 commit 2664067
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,19 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: 3.10.12

run: |
cat << EOF > .env
SECRET_KEY = "${SECRET_KEY}"
POSTGRES_DB = "${POSTGRES_DB}"
POSTGRES_USER = "${POSTGRES_USER}"
POSTGRES_PASSWORD = "${POSTGRES_PASSWORD}"
POSTGRES_HOST = "${POSTGRES_HOST}"
POSTGRES_PORT = "${POSTGRES_PORT}"
DJANGO_SETTINGS_MODULE = "${DJANGO_SETTINGS_MODULE}"
REDIS_PASS = "${REDIS_PASS}"
REDIS_CELERY = "${REDIS_CELERY}"
REDIS_CACHE = "${REDIS_CACHE}"
EOF
- name: show
run: echo $POSTGRES_DB
- name: Install dependencies
Expand Down

0 comments on commit 2664067

Please sign in to comment.