forked from AG_QGIS/Plugin_Test_Action
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2e65ec4bc4 | ||
|
|
0ce29c9e84 | ||
|
|
75b7e8073a |
@@ -217,6 +217,23 @@ jobs:
|
||||
echo "Payload:"
|
||||
cat payload.json
|
||||
|
||||
- name: Repository aktualisieren
|
||||
run: |
|
||||
OWNER="AG_QGIS" # z. B. dein Benutzername oder deine Organisation
|
||||
WORKFLOW="update.yml" # Name der Workflow-Datei im Repository-Repo
|
||||
|
||||
curl -X POST \
|
||||
-H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d "{\"ref\": \"feature/release\", \"inputs\": {}, \"event_type\": \"update_plugin\", \"client_payload\": $(cat repo/payload.json) }" \
|
||||
"https://${{ vars.RELEASE_URL }}/api/v1/repos/${OWNER}/Repository/actions/workflows/${WORKFLOW}/dispatches"
|
||||
|
||||
# curl -X POST \
|
||||
# -H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \
|
||||
# -H "Content-Type: application/json" \
|
||||
# -d @repo/payload.json \
|
||||
# "https://${{ vars.RELEASE_URL }}/api/v1/repos/${OWNER}/Repository/actions/workflows/${WORKFLOW}/dispatches"
|
||||
|
||||
|
||||
|
||||
- name: Debug Info
|
||||
|
||||
Reference in New Issue
Block a user