Skip to content

Commit

Permalink
Put publish controls back, reduce notifications 📴
Browse files Browse the repository at this point in the history
  • Loading branch information
Kezzsim committed Nov 30, 2023
1 parent 3983a54 commit 3fe2a36
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 24 deletions.
21 changes: 17 additions & 4 deletions .github/workflows/publish-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Publish Database Images

on:
push:
branches:
- main
tags:
- "*.*.*"

jobs:
build:
Expand Down Expand Up @@ -34,5 +34,18 @@ jobs:
# Specify Database Connection
TILED_TEST_POSTGRESQL_URI: postgresql+asyncpg://postgres:secret@localhost:5432



- name: Dump sql data into binary format
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
uses: softprops/action-gh-release@v1
with:
files: |
tiled_test_db_pg.sql
tag_name: ${{ github.ref }}
body: |
${{ github.ref }} : ${{ github.event.head_commit.message }}
draft: false
prerelease: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20 changes: 0 additions & 20 deletions docker-compose.yml

This file was deleted.

File renamed without changes.

0 comments on commit 3fe2a36

Please sign in to comment.