Skip to content

Commit f1e744c

Browse files
committed
[PROD-14593] Trigger helm chart deploy after updating 'latest' image
1 parent d30a62e commit f1e744c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/build_test_package.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,3 +283,8 @@ jobs:
283283
docker image tag com.cosmotech/cosmotech-api:${{github.sha}} \
284284
ghcr.io/cosmo-tech/cosmotech-api:latest
285285
docker image push ghcr.io/cosmo-tech/cosmotech-api:latest
286+
curl --request POST \
287+
--url "https://api.github.com/repos/cosmo-tech/helm-charts/actions/workflows/api_deploy.yml/dispatches" \
288+
--header "Accept: application/vnd.github.v3+json" \
289+
--header "Authorization: Bearer ${{ secrets.TRIGGER_HELM_CHARTS_WORKFLOW_PAT }}" \
290+
--data '{ "ref": "main" }'

0 commit comments

Comments
 (0)