forked from AG_QGIS/Plugin_Test_Action
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
af43bfeab9 | ||
|
|
c55dedbbe1 |
@@ -222,11 +222,19 @@ jobs:
|
||||
OWNER="AG_QGIS"
|
||||
WORKFLOW="update.yml"
|
||||
|
||||
# payload.json in Base64 umwandeln (Alpine hat base64)
|
||||
PAYLOAD_B64=$(base64 -w0 repo/payload.json)
|
||||
|
||||
# JSON für Gitea bauen
|
||||
JSON="{\"ref\":\"feature/release\",\"inputs\":{\"payload\":\"$PAYLOAD_B64\"}}"
|
||||
|
||||
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 "$JSON" \
|
||||
"https://${{ vars.RELEASE_URL }}/api/v1/repos/${OWNER}/Repository/actions/workflows/${WORKFLOW}/dispatches"
|
||||
|
||||
|
||||
|
||||
|
||||
# - name: Repository aktualisieren
|
||||
|
||||
Reference in New Issue
Block a user