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