Setting up the rne database #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: rne | |
run-name: Setting up the rne database | |
on: [push] | |
jobs: | |
test-output: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Test Output | |
run: echo "Here is a test" | |
connect-remote: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Show databases | |
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 }} |