Skip to content

Commit 0ffaebc

Browse files
Update deploy-cloud-run-grafana.yaml (#199)
1 parent 755f999 commit 0ffaebc

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

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

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,14 @@ jobs:
4242
rm -rf /tmp/.buildx-cache
4343
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
4444
45-
- name: Deploy to Cloud Run
46-
run: gcloud run deploy grafana --image gcr.io/coderabbit/grafana:latest --region us-central1 --allow-unauthenticated --vpc-connector=coderabbitai-dev-cr
45+
# - name: Deploy to Cloud Run
46+
# run: gcloud run deploy grafana --image gcr.io/coderabbit/grafana:latest --region us-central1 --allow-unauthenticated --vpc-connector=coderabbitai-dev-cr
47+
48+
49+
- name: Trigger a repository dispatch
50+
run: |
51+
curl -X POST \
52+
-H "Authorization: token ${{ secrets.PAT_TRIGGER_GRAFANA }}" \
53+
-H "Accept: application/vnd.github.everest-preview+json" \
54+
https://api.github.com/repos/coderabbitai/mono/dispatches \
55+
-d '{"event_type": "trigger-grafana-micro-frontend-dev"}'

0 commit comments

Comments
 (0)