From 47197cd819d1eb3c91509a0ac7308521decba3e4 Mon Sep 17 00:00:00 2001 From: Michael Otto <22ottomi@noreply.localhost> Date: Mon, 2 Mar 2026 14:06:54 +0100 Subject: [PATCH] .gitea/workflows/release.yml aktualisiert --- .gitea/workflows/release.yml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 3d882c1..5392e8b 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -211,17 +211,15 @@ jobs: - name: Dispatch to Repository run: | - XML_BLOCK="${{ steps.xmlblock.outputs.block }}" - - JSON=$(jq -n \ - --arg type "plugin-released" \ - --arg plugin "${{ steps.cfg.outputs.name }}" \ - --arg channel "${{ steps.info.outputs.channel }}" \ - --arg xml "$XML_BLOCK" \ - '{type:$type,payload:{plugin:$plugin,channel:$channel,xml_block:$xml}}') - curl -s -X POST \ -H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \ -H "Content-Type: application/json" \ "https://${{ vars.RELEASE_URL }}/api/v1/repos/${{ github.repository_owner }}/Repository/dispatches" \ - -d "$JSON" + -d "{ + \"type\": \"plugin-released\", + \"payload\": { + \"plugin\": \"${{ steps.cfg.outputs.name }}\", + \"channel\": \"${{ steps.info.outputs.channel }}\", + \"xml_block\": \"${{ steps.xmlblock.outputs.block }}\" + } + }"