another try at fixing the discord release bot

This commit is contained in:
vabene1111 2021-11-01 12:25:53 +01:00
parent 0e55fe162c
commit 3e8bc0a42b

View File

@ -1,9 +1,8 @@
name: publish tagged release docker name: publish tagged release docker
on: on:
push: release:
tags: types: [created]
- '*'
jobs: jobs:
build: build:
@ -50,4 +49,4 @@ jobs:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_RELEASE_WEBHOOK }} DISCORD_WEBHOOK: ${{ secrets.DISCORD_RELEASE_WEBHOOK }}
uses: Ilshidur/action-discord@0.3.2 uses: Ilshidur/action-discord@0.3.2
with: with:
args: '🚀 A new Version of tandoor has been released 🥳 \n https://github.com/vabene1111/recipes/releases/tag/{{GITHUB_REF/refs\/tags\//}}' args: '🚀 Version {{ EVENT_PAYLOAD.release.tag_name }} of tandoor has been released 🥳 \nCheck it out *https://github.com/vabene1111/recipes/releases/tag/{{ EVENT_PAYLOAD.release.tag_name }}*'