Skip to content

Commit

Permalink
add db url log
Browse files Browse the repository at this point in the history
  • Loading branch information
timothy-lew committed Dec 30, 2024
1 parent 585ff13 commit 56a6e25
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ jobs:
echo "DB_SERVER_DEV=${{ secrets.DB_SERVER_DEV }}"
echo "DB_DATABASE_DEV=${{ secrets.DB_DATABASE_DEV }}"
echo "DB_DATABASE_PORT=${{ secrets.DB_DATABASE_PORT }}"
# Construct the URL here (this is for logging purposes)
DB_URL="postgresql://${{ secrets.DB_USERNAME_DEV }}:@${{ secrets.DB_SERVER_DEV }}:${{ secrets.DB_DATABASE_PORT }}/${{ secrets.DB_DATABASE_DEV }}"
echo "Database URL (without password): $DB_URL"
# pip install pytest
# - name: Lint with flake8
Expand Down

0 comments on commit 56a6e25

Please sign in to comment.