Skip to content

Commit

Permalink
Update deploy-cloud-run-grafana-prod.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
dikshant-infracloud authored Sep 6, 2024
1 parent 7264168 commit f69ec4e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-cloud-run-grafana-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ jobs:
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
- name: Deploy to Cloud Run
run: gcloud run deploy grafana-internal --image gcr.io/coderabbitprod/grafana:latest --region us-central1 --allow-unauthenticated --vpc-connector=coderabbit-prod-connector
# - name: Deploy to Cloud Run
# run: gcloud run deploy grafana-internal --image gcr.io/coderabbitprod/grafana:latest --region us-central1 --allow-unauthenticated --vpc-connector=coderabbit-prod-connector

- name: Trigger a repository dispatch
run: |
curl -X POST \
-H "Authorization: token ${{ secrets.PAT_TRIGGER_GRAFANA }}" \
-H "Accept: application/vnd.github.everest-preview+json" \
https://api.github.com/repos/coderabbitai/mono/dispatches \
-d '{"event_type": "trigger-grafana-micro-frontend"}'
-d '{"event_type": "trigger-grafana-micro-frontend"}'

0 comments on commit f69ec4e

Please sign in to comment.