-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (31 loc) · 1.14 KB
/
Copy pathobservability_deploy.yml
File metadata and controls
33 lines (31 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: 'Deploy OpenTelemetry'
on:
push:
branches:
- main
paths:
- .github/workflows/**
jobs:
deploy:
runs-on: ubuntu-slim
concurrency:
group: deploy-otel-job-${{ github.ref_name }}
steps:
- uses: plengauer/opentelemetry-github/actions/instrument/job@909c7153cce2c6ef916f4fde6958886d9d65af03 # v5.55.0
env:
OTEL_EXPORTER_OTLP_ENDPOINT: ${{ secrets.OTEL_EXPORTER_OTLP_ENDPOINT }}
OTEL_EXPORTER_OTLP_HEADERS: ${{ secrets.OTEL_EXPORTER_OTLP_HEADERS }}
with:
secrets_to_redact: |-
${{ github.token }}
${{ secrets.ACTIONS_GITHUB_TOKEN }}
${{ secrets.OTEL_EXPORTER_OTLP_ENDPOINT }}
${{ secrets.OTEL_EXPORTER_OTLP_HEADERS }}
- uses: plengauer/opentelemetry-github/actions/instrument/deploy@909c7153cce2c6ef916f4fde6958886d9d65af03 # v5.55.0
with:
github_token: ${{ secrets.ACTIONS_GITHUB_TOKEN }}
env:
OTEL_EXPORTER_OTLP_ENDPOINT: '${{ secrets.OTEL_EXPORTER_OTLP_ENDPOINT }}'
OTEL_EXPORTER_OTLP_HEADERS: '${{ secrets.OTEL_EXPORTER_OTLP_HEADERS }}'
permissions:
actions: read