diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index a08aa3c..be4dc5a 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -28,3 +28,4 @@ jobs: grafana_otlp_endpoint: ${{ secrets.HUB_GRAFANA_OTLP_ENDPOINT }} grafana_instance_id: ${{ secrets.HUB_GRAFANA_INSTANCE_ID }} grafana_api_key: ${{ secrets.HUB_GRAFANA_API_KEY }} + grafana_headers: ${{ secrets.HUB_GRAFANA_HEADERS }} diff --git a/.github/workflows/deploy-job.yml b/.github/workflows/deploy-job.yml index ff5f7c1..e108fa1 100644 --- a/.github/workflows/deploy-job.yml +++ b/.github/workflows/deploy-job.yml @@ -34,6 +34,8 @@ on: required: true grafana_api_key: required: true + grafana_headers: + required: true jobs: deploy: @@ -81,7 +83,7 @@ jobs: GRAFANA_INSTANCE_ID=${{ secrets.grafana_instance_id }}, GRAFANA_API_KEY=${{ secrets.grafana_api_key }} OTEL_EXPORTER_OTLP_ENDPOINT=${{ secrets.grafana_otlp_endpoint }}, - OTEL_EXPORTER_OTLP_HEADERS=Authorization Basic=${{ secrets.GRAFANA_HEADERS }} + OTEL_EXPORTER_OTLP_HEADERS=Authorization Basic=${{ secrets.grafana_headers }} secrets: |- FIREBASE_PRIVATE_KEY_BASE64=${{ secrets.firebase_private_key_base64_gcp_secret_name }}:latest, diff --git a/.github/workflows/production-deploy.yml b/.github/workflows/production-deploy.yml index 3f32f3c..cc6247a 100644 --- a/.github/workflows/production-deploy.yml +++ b/.github/workflows/production-deploy.yml @@ -28,3 +28,4 @@ jobs: grafana_otlp_endpoint: ${{ secrets.HUB_GRAFANA_OTLP_ENDPOINT }} grafana_instance_id: ${{ secrets.HUB_GRAFANA_INSTANCE_ID }} grafana_api_key: ${{ secrets.HUB_GRAFANA_API_KEY }} + grafana_headers: ${{ secrets.HUB_GRAFANA_HEADERS }}