From f0d4c330dc4f1491c30aa9a7a85bc2d7a63622b9 Mon Sep 17 00:00:00 2001 From: Kari Barry Date: Mon, 18 Dec 2023 17:43:07 -0500 Subject: [PATCH] =?UTF-8?q?Specify=20dbName=20in=20`pg=5Fdump`=20?= =?UTF-8?q?=F0=9F=8F=B7=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish-files.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-files.yml b/.github/workflows/publish-files.yml index e19862c..a8ebd4d 100644 --- a/.github/workflows/publish-files.yml +++ b/.github/workflows/publish-files.yml @@ -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"