Skip to content

Commit b1e2565

Browse files
committed
Remove trigger_deployments job from CI workflow
1 parent 986423b commit b1e2565

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

.github/workflows/build_test_package.yml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -349,28 +349,3 @@ jobs:
349349
if: ${{ always() }}
350350
run: |
351351
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-
}'

0 commit comments

Comments
 (0)