Skip to content

Commit

Permalink
build: update secrets (#696)
Browse files Browse the repository at this point in the history
  • Loading branch information
ianlnf authored Jan 27, 2025
1 parent 5152d6d commit 918181f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
4 changes: 3 additions & 1 deletion .github/workflows/deploy-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ on:
required: true
grafana_api_key:
required: true
grafana_headers:
required: true

jobs:
deploy:
Expand Down Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/production-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 918181f

Please sign in to comment.