diff --git a/gocd/templates/pipelines/usage-accountant.libsonnet b/gocd/templates/pipelines/usage-accountant.libsonnet index d1a9b88..94b2b55 100644 --- a/gocd/templates/pipelines/usage-accountant.libsonnet +++ b/gocd/templates/pipelines/usage-accountant.libsonnet @@ -45,6 +45,11 @@ function(region) { deploy: { timeout: 1200, elastic_profile_id: 'usage-accountant', + environment_variables: { + // k8s-deploy dispatches deployment workflows using GitHub App credentials. + GITHUB_APP_ID: '{{SECRET:[devinfra-github][app_id]}}', + GITHUB_APP_PRIVATE_KEY: '{{SECRET:[devinfra-github][private_key]}}', + }, tasks: [ gocdtasks.script(importstr '../bash/deploy.sh'), ],