File tree Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Original file line number Diff line number Diff line change @@ -349,28 +349,3 @@ jobs:
349
349
if : ${{ always() }}
350
350
run : |
351
351
helm registry logout ghcr.io || true
352
-
353
- trigger_deployments :
354
- runs-on : ubuntu-latest
355
- if : ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') }}
356
- needs :
357
- - scan_and_push_container_images_to_registries
358
- - push_helm_charts_to_oci_registries
359
-
360
- steps :
361
- - name : Dispatch deployments
362
- env :
363
- GH_PAT : ${{ secrets.OPENAPI_CLIENTS_GITHUB_PAT }}
364
- run : |
365
- curl --request POST \
366
- --url "https://api.github.com/repos/${{ github.repository }}/dispatches" \
367
- --header "Authorization: Bearer ${GH_PAT}" \
368
- --header 'content-type: application/json' \
369
- --data '{
370
- "event_type": "ready_to_deploy",
371
- "client_payload": {
372
- "gh_actor": "${{ github.actor }}",
373
- "gh_ref": "${{ github.ref }}",
374
- "gh_sha": "${{ github.sha }}"
375
- }
376
- }'
You can’t perform that action at this time.
0 commit comments