Skip to content

Instantly share code, notes, and snippets.

@chris
Created July 7, 2020 20:14
Show Gist options
  • Save chris/754673521d4bbe5583fdea8e28bdc3f7 to your computer and use it in GitHub Desktop.
Save chris/754673521d4bbe5583fdea8e28bdc3f7 to your computer and use it in GitHub Desktop.
GitHub Action psql command example
steps:
- name: Import DB seed data
run: psql -d postgresql://postgres@localhost/your_test_db_name -f your_seed_data.sql
working-directory: ./test/data
env:
PGPASSWORD: password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment