Skip to content

Commit

Permalink
Find a different way to tie releases to tags 🏷️
Browse files Browse the repository at this point in the history
  • Loading branch information
Kezzsim committed Nov 29, 2023
1 parent 5183c76 commit 7621920
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ on:
push:
branches:
- main
tags:
- "v*.*.*"

jobs:
build:
Expand Down Expand Up @@ -35,8 +33,9 @@ jobs:
- name: Stop containers
run: docker-compose down

- name: Publish .sql files to github release with softprops/action-gh-release action
- name: Publish .sql files to github release with action
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
tiled_test_db_pg.sql
Expand Down

0 comments on commit 7621920

Please sign in to comment.