Skip to content

Commit

Permalink
test add environment variables from script
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Jan 29, 2024
1 parent f807fd7 commit 23f02b6
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/actions/setup-postgres-linux/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ runs:
- name: Configure the database
shell: bash
run: sudo su - postgres psql -c 'CREATE DATABASE dbt;'
env:
PGUSER: postgres
PGPORT: 5432
PGHOST: localhost
run: |
sudo su - postgres PGUSER=postgres
sudo su - postgres export PGUSER
sudo su - postgres PGPORT=5432
sudo su - postgres export PGPORT
sudo su - postgres PGHOST=localhost
sudo su - postgres export PGHOST
sudo su - postgres createdb dbt

0 comments on commit 23f02b6

Please sign in to comment.