forked from AG_QGIS/Plugin_Test_Action
.gitea/workflows/release.yml aktualisiert
This commit is contained in:
@@ -208,3 +208,18 @@ jobs:
|
|||||||
echo "$BLOCK"
|
echo "$BLOCK"
|
||||||
echo "EOF"
|
echo "EOF"
|
||||||
} >> "$GITHUB_OUTPUT"
|
} >> "$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 }}\"
|
||||||
|
}
|
||||||
|
}"
|
||||||
|
|||||||
Reference in New Issue
Block a user