Skip to content

Commit da4e0f1

Browse files
Adding trigger
1 parent 0e84b75 commit da4e0f1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/deploy-cloud-run-grafana-prod.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,11 @@ jobs:
4444
4545
- name: Deploy to Cloud Run
4646
run: gcloud run deploy grafana-internal --image gcr.io/coderabbitprod/grafana:latest --region us-central1 --allow-unauthenticated --vpc-connector=coderabbit-prod-connector
47+
48+
- name: Trigger a repository dispatch
49+
run: |
50+
curl -X POST \
51+
-H "Authorization: token ${{ secrets.PAT_TRIGGER_GRAFANA }}" \
52+
-H "Accept: application/vnd.github.everest-preview+json" \
53+
https://api.github.com/repos/coderabbitai/mono/dispatches \
54+
-d '{"event_type": "trigger-grafana-micro-frontend"}'

0 commit comments

Comments
 (0)