Skip to content

Commit 9a57a96

Browse files
ci: Align PostgreSQL environment variables with Docker image
This commit updates the `ci.yml` workflow to use `POSTGRES_DB` and `POSTGRES_USER` instead of `POSTGRES_DATABASE` and `POSTGRES_USERNAME`. This change aligns the environment variable names with the official PostgreSQL Docker image, ensuring correct database initialization in the CI environment.
1 parent b148328 commit 9a57a96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ jobs:
4545
echo "DJANGO_ALLOWED_HOSTS=localhost,127.0.0.1,0.0.0.0" >> .env
4646
echo "DJANGO_SECRET_KEY=${{ secrets.DJANGO_SECRET_KEY }}" >> .env
4747
48-
echo "POSTGRES_DATABASE=${{ secrets.POSTGRES_DATABASE }}" >> .env
49-
echo "POSTGRES_USERNAME=${{ secrets.POSTGRES_USERNAME }}" >> .env
48+
echo "POSTGRES_DB=${{ secrets.POSTGRES_DB }}" >> .env
49+
echo "POSTGRES_USER=${{ secrets.POSTGRES_USER }}" >> .env
5050
echo "POSTGRES_PASSWORD=${{ secrets.POSTGRES_PASSWORD }}" >> .env
5151
5252
echo "ANTIFRAUD_INTERNAL_PORT=8081" >> .env

0 commit comments

Comments
 (0)