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
All checks were successful
Building and publishing Homebrewery as Docker Image / build (release) Successful in 11m39s
This commit is contained in:
parent
4fb3849d8c
commit
589e5d8a0a
@ -1,9 +1,8 @@
|
|||||||
name: Building and publishing Homebrewery as Docker Image
|
name: Building and publishing Homebrewery as Docker Image
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
release:
|
||||||
tags:
|
types: [published]
|
||||||
- v**
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -64,6 +64,7 @@ jobs:
|
|||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
if: ${{ env.ID > 0 && env.DRAFT != 'true' }}
|
if: ${{ env.ID > 0 && env.DRAFT != 'true' }}
|
||||||
with:
|
with:
|
||||||
|
token: ${{ secrets.GT_UPDATE_TOKEN }}
|
||||||
prerelease: ${{ env.PRERELEASE }}
|
prerelease: ${{ env.PRERELEASE }}
|
||||||
name: ${{ env.NAME }}
|
name: ${{ env.NAME }}
|
||||||
tag_name: ${{ env.TAG_NAME }}
|
tag_name: ${{ env.TAG_NAME }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user