From ae4f6793ced5a240a09bc1e76afb38d1e3c0533a Mon Sep 17 00:00:00 2001 From: Pete Inge Date: Sat, 4 Feb 2023 11:04:34 -0500 Subject: [PATCH] set JSON format --- .github/workflows/testing-cache-hit-ratio.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/testing-cache-hit-ratio.yml b/.github/workflows/testing-cache-hit-ratio.yml index 0f8eece9..e74e693b 100644 --- a/.github/workflows/testing-cache-hit-ratio.yml +++ b/.github/workflows/testing-cache-hit-ratio.yml @@ -57,7 +57,7 @@ jobs: CONNECT_BC_API: "${{ secrets.CONNECT_BC_KEY }}" CALLBACK: "${{ inputs.callback }}" run: | - terminus env:metrics ${PANTEHON_SITE}.${PANTHEON_ENV} > cache_hit_ratio.json + terminus env:metrics ${PANTEHON_SITE}.${PANTHEON_ENV} --format=json > cache_hit_ratio.json curl -X POST -H "api-key: $CONNECT_BC_API" -H 'Content-Type: application/json' -d @"cache_hit_ratio.json" $CALLBACK # - name: Post Artifacts