Skip to content

Commit

Permalink
Sanity check πŸ§˜β€β™€οΈ 001
Browse files Browse the repository at this point in the history
  • Loading branch information
Kezzsim committed Dec 13, 2023
1 parent b6d71fb commit 5f96d4f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/publish-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,16 @@ jobs:
# Specify Database Connection
TILED_TEST_POSTGRESQL_URI: postgresql+asyncpg://postgres:secret@localhost:5432

- name: SANITY CHECK - list contents of table nodes
run: docker exec postgres psql -U postgres -c "SELECT * FROM nodes limit 100;"

- name: Dump sql data into binary format when generator finishes
id: save
if: steps.tiled.outcome == 'success'
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

- name: Publish .sql files to github release with action
if: steps.save.outcome == 'success'
if: steps.save.conclusion == 'success'
uses: softprops/action-gh-release@v1
with:
files: |
Expand Down

0 comments on commit 5f96d4f

Please sign in to comment.