Skip to content

Commit

Permalink
trying new things
Browse files Browse the repository at this point in the history
  • Loading branch information
ehearneRedHat committed May 15, 2024
1 parent 55a4519 commit 2cdfc71
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/upload-dashboards.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
run:
shell: bash
steps:
- uses: actions/checkout@v2
- name: Upload Dashboard
run: |
# Push new dashboard changes
Expand All @@ -29,10 +30,10 @@ jobs:
auth=$(cat auth.txt)
# App Developer Dashboard
curl -X POST -F "json=@examples/dashboards/app_developer.json" -H 'Content-Type: multipart/form-data' -H "Authorization: Basic $auth" "https://www.grafana.com/api/dashboards/20970/revisions"
curl -X POST -F "json=@./examples/dashboards/app_developer.json" -H 'Content-Type: multipart/form-data' -H "Authorization: Basic $auth" "https://www.grafana.com/api/dashboards/20970/revisions"
# Business User Dashboard
curl -X POST -F "json=@examples/dashboards/business_user.json" -H 'Content-Type: multipart/form-data' -H "Authorization: Basic $auth" "https://www.grafana.com/api/dashboards/20981/revisions"
curl -X POST -F "json=@./examples/dashboards/business_user.json" -H 'Content-Type: multipart/form-data' -H "Authorization: Basic $auth" "https://www.grafana.com/api/dashboards/20981/revisions"
# Platform Engineer Dashboard
curl -X POST -F "json=@examples/dashboards/platform_engineer.json" -H 'Content-Type: multipart/form-data' -H "Authorization: Basic $auth" "https://www.grafana.com/api/dashboards/20982/revisions"
curl -X POST -F "json=@./examples/dashboards/platform_engineer.json" -H 'Content-Type: multipart/form-data' -H "Authorization: Basic $auth" "https://www.grafana.com/api/dashboards/20982/revisions"

0 comments on commit 2cdfc71

Please sign in to comment.