forked from AG_QGIS/Plugin_Test_Action
Release v33
This commit is contained in:
@@ -219,14 +219,26 @@ jobs:
|
|||||||
|
|
||||||
- name: Repository aktualisieren
|
- name: Repository aktualisieren
|
||||||
run: |
|
run: |
|
||||||
OWNER="AG_QGIS" # z. B. dein Benutzername oder deine Organisation
|
OWNER="AG_QGIS"
|
||||||
WORKFLOW="update.yml" # Name der Workflow-Datei im Repository-Repo
|
WORKFLOW="update.yml"
|
||||||
|
|
||||||
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\", \"inputs\": {}, \"event_type\": \"update_plugin\", \"client_payload\": $(cat repo/payload.json) }" \
|
-d "{\"ref\": \"feature/release\", \"client_payload\": $(cat repo/payload.json) }" \
|
||||||
"https://${{ vars.RELEASE_URL }}/api/v1/repos/${OWNER}/Repository/actions/workflows/${WORKFLOW}/dispatches"
|
"https://${{ vars.RELEASE_URL }}/api/v1/repos/${OWNER}/Repository/actions/workflows/${WORKFLOW}/dispatches?event_type=update_plugin"
|
||||||
|
|
||||||
|
|
||||||
|
# - 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 \
|
# curl -X POST \
|
||||||
# -H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \
|
# -H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \
|
||||||
|
|||||||
Reference in New Issue
Block a user