define repo and refacor event name

This commit is contained in:
Ulf Gebhardt 2023-03-06 12:37:20 +01:00
parent 9bc95908ae
commit 4bfba1983f
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9
2 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
name: publish-branded
on:
repository_dispatch:
types: [trigger_build_success]
types: [trigger-build-success]
jobs:
build_branded:
name: Docker Build Branded

View File

@ -299,7 +299,8 @@ jobs:
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ github.token }}
event-type: trigger_build_success
event-type: trigger-build-success
repository: ${{ github.repository }}
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "VERSION": "${VERSION}", "BUILD_DATE": "${BUILD_DATE}", "BUILD_COMMIT": "${BUILD_COMMIT}", "BUILD_VERSION": "${BUILD_VERSION}"}'
# ##############################################################################