Created
July 7, 2020 20:14
-
-
Save chris/754673521d4bbe5583fdea8e28bdc3f7 to your computer and use it in GitHub Desktop.
GitHub Action psql command example
This file contains hidden or 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
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