Skip to content

Commit

Permalink
Specify dbName in pg_dump 🏷️
Browse files Browse the repository at this point in the history
  • Loading branch information
Kezzsim committed Dec 18, 2023
1 parent c921952 commit f0d4c33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Dump sql data into binary format when generator finishes
id: save
if: steps.tiled.conclusion == 'success'
run: docker exec -i postgres /bin/bash -c "PGPASSWORD=secret pg_dump --username postgres postgres" > tiled_test_db_pg.sql
run: docker exec -i postgres /bin/bash -c "PGPASSWORD=secret pg_dump --username postgres --dbname tiled-example-data" > tiled_test_db_pg.sql

- name: SANITY CHECK - list contents of sqlite file
run : sqlite3 tiled_test_db_sqlite.db "SELECT * FROM nodes LIMIT 10"
Expand Down

0 comments on commit f0d4c33

Please sign in to comment.