diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 53ffe1f..5392e8b 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -207,4 +207,19 @@ jobs: echo "block<> "$GITHUB_OUTPUT" \ No newline at end of file + } >> "$GITHUB_OUTPUT" + + - name: Dispatch to Repository + run: | + 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 "{ + \"type\": \"plugin-released\", + \"payload\": { + \"plugin\": \"${{ steps.cfg.outputs.name }}\", + \"channel\": \"${{ steps.info.outputs.channel }}\", + \"xml_block\": \"${{ steps.xmlblock.outputs.block }}\" + } + }"