forked from AG_QGIS/Plugin_Test_Action
Release v34
This commit is contained in:
@@ -222,11 +222,20 @@ jobs:
|
||||
OWNER="AG_QGIS"
|
||||
WORKFLOW="update.yml"
|
||||
|
||||
# JSON als STRING escapen
|
||||
PAYLOAD=$(jq -Rs . < repo/payload.json)
|
||||
|
||||
curl -X POST \
|
||||
-H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d "{\"ref\": \"feature/release\", \"client_payload\": $(cat repo/payload.json) }" \
|
||||
"https://${{ vars.RELEASE_URL }}/api/v1/repos/${OWNER}/Repository/actions/workflows/${WORKFLOW}/dispatches?event_type=update_plugin"
|
||||
-d "{
|
||||
\"ref\": \"feature/release\",
|
||||
\"inputs\": {
|
||||
\"client_payload\": $PAYLOAD
|
||||
}
|
||||
}" \
|
||||
"https://${{ vars.RELEASE_URL }}/api/v1/repos/${OWNER}/Repository/actions/workflows/${WORKFLOW}/dispatches"
|
||||
|
||||
|
||||
|
||||
# - name: Repository aktualisieren
|
||||
|
||||
Reference in New Issue
Block a user