update repo names #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Open Telemetry Collector | |
# Started from GH Docs | |
# https://docs.github.com/en/actions/deployment/deploying-to-your-cloud-provider/deploying-to-google-kubernetes-engine | |
# REQUIRED REPO SECRETS | |
# - GCP_CREDENTIALS | |
# - CLUSTER_PREFIX | |
on: | |
push: | |
branches: ["main"] | |
workflow_dispatch: | |
jobs: | |
determine_cloud_provider: | |
uses: ./.github/workflows/_determine-provider.yaml | |
secrets: inherit | |
deploy_gcp: | |
if: needs.determine_cloud_provider.outputs.gcp == 'true' | |
needs: [determine_cloud_provider] | |
uses: ./.github/workflows/_deploy-otel-collector-gke.yaml | |
secrets: inherit | |
deploy_aws: | |
if: needs.determine_cloud_provider.outputs.aws == 'true' | |
needs: [determine_cloud_provider] | |
uses: ./.github/workflows/_deploy-otel-collector-aws.yaml | |
secrets: inherit |