Skip to content

Commit

Permalink
Increase frequency to keep Grafana instance alive and ignore errors
Browse files Browse the repository at this point in the history
  • Loading branch information
F21 committed Jun 26, 2024
1 parent 5d0d7a5 commit a9792e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/keep-grafana-instance-active.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Keep Grafana Instance Active
on:
schedule:
- cron: '0 0/3 * * *'
- cron: '0 0/2 * * *'

jobs:
keep-grafana-instance-active:
Expand All @@ -11,7 +11,7 @@ jobs:
uses: actions/checkout@v4
- name: Get home dashboard
run: |
curl --fail-with-body -X GET -H "Authorization: Bearer ${{ secrets.TEST_GRAFANA_INSTANCE_API_TOKEN }}" https://${{ secrets.TEST_GRAFANA_CLOUD_STACK_SLUG }}.grafana.net/api/dashboards/home
curl -X GET -H "Authorization: Bearer ${{ secrets.TEST_GRAFANA_INSTANCE_API_TOKEN }}" https://${{ secrets.TEST_GRAFANA_CLOUD_STACK_SLUG }}.grafana.net/api/dashboards/home
workflow-keepalive:
if: github.event_name == 'schedule'
Expand Down

0 comments on commit a9792e4

Please sign in to comment.