Skip to content

Commit

Permalink
modification github action rne.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
a-lambda committed Jan 24, 2024
1 parent 6659697 commit 7ad42bc
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/rne.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,13 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Show databases
run: psql -h ${{ secrets.DB_HOSTNAME }} -p 5432 -U ${{ secrets.DB_USER }}

run: |
PGPASSWORD=$DB_PASSWORD psql -h $DB_HOSTNAME -d $DB_NAME -p $DB_PORT -U $DB_USER -c "select version();"
env:
DB_HOSTNAME: ${{ secrets.DB_HOSTNAME }}
DB_USER: ${{ secrets.DB_USER }}
DB_PASSWORD: ${{ secrets.DB_PASSWORD }}
DB_PORT: ${{ secrets.DB_PORT }}
DB_NAME: ${{ secrets.DB_NAME }}


0 comments on commit 7ad42bc

Please sign in to comment.