This commit is contained in:
@@ -222,12 +222,15 @@ jobs:
|
|||||||
OWNER="AG_QGIS"
|
OWNER="AG_QGIS"
|
||||||
WORKFLOW="update.yml"
|
WORKFLOW="update.yml"
|
||||||
|
|
||||||
# payload.json in Base64 umwandeln (Alpine hat base64)
|
# payload.json in Base64 umwandeln
|
||||||
PAYLOAD_B64=$(base64 -w0 repo/payload.json)
|
PAYLOAD_B64=$(base64 -w0 repo/payload.json)
|
||||||
|
|
||||||
# JSON für Gitea bauen
|
# JSON für Gitea bauen
|
||||||
JSON="{\"ref\":\"feature/release\",\"inputs\":{\"payload\":\"$PAYLOAD_B64\"}}"
|
JSON="{\"ref\":\"feature/release\",\"inputs\":{\"payload\":\"$PAYLOAD_B64\"}}"
|
||||||
|
|
||||||
|
echo "Sende JSON:"
|
||||||
|
echo "$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" \
|
||||||
@@ -237,6 +240,7 @@ jobs:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# - name: Repository aktualisieren
|
# - name: Repository aktualisieren
|
||||||
# run: |
|
# run: |
|
||||||
# OWNER="AG_QGIS" # z. B. dein Benutzername oder deine Organisation
|
# OWNER="AG_QGIS" # z. B. dein Benutzername oder deine Organisation
|
||||||
|
|||||||
Reference in New Issue
Block a user