Update build workflow to trigger on release events and adjust update job to include token
All checks were successful
Building and publishing Homebrewery as Docker Image / build (release) Successful in 11m39s

This commit is contained in:
Florian Weber 2025-06-26 16:35:02 +02:00
parent 4fb3849d8c
commit 589e5d8a0a
Signed by: f.weber
GPG Key ID: A1C85EB19014A2D3
2 changed files with 3 additions and 3 deletions

View File

@ -1,9 +1,8 @@
name: Building and publishing Homebrewery as Docker Image
on:
push:
tags:
- v**
release:
types: [published]
jobs:
build:

View File

@ -64,6 +64,7 @@ jobs:
uses: softprops/action-gh-release@v2
if: ${{ env.ID > 0 && env.DRAFT != 'true' }}
with:
token: ${{ secrets.GT_UPDATE_TOKEN }}
prerelease: ${{ env.PRERELEASE }}
name: ${{ env.NAME }}
tag_name: ${{ env.TAG_NAME }}