diff --git a/.github/workflows/upload-dashboards.yaml b/.github/workflows/upload-dashboards.yaml index 657669abf..c0a2edf20 100644 --- a/.github/workflows/upload-dashboards.yaml +++ b/.github/workflows/upload-dashboards.yaml @@ -15,6 +15,7 @@ jobs: run: shell: bash steps: + - uses: actions/checkout@v2 - name: Upload Dashboard run: | # Push new dashboard changes @@ -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"