diff --git a/baker/BuildkiteTrigger.ts b/baker/BuildkiteTrigger.ts index 24be01cdb9e..db43ceb666f 100644 --- a/baker/BuildkiteTrigger.ts +++ b/baker/BuildkiteTrigger.ts @@ -1,8 +1,11 @@ -import { BUILDKITE_API_ACCESS_TOKEN } from "../settings/serverSettings.js" +import { + BUILDKITE_API_ACCESS_TOKEN, + BUILDKITE_DEPLOY_CONTENT_PIPELINE_SLUG, +} from "../settings/serverSettings.js" export class BuildkiteTrigger { private organizationSlug = "our-world-in-data" - private pipelineSlug = "grapher-cloudflare-pages-deploy-queue" + private pipelineSlug = BUILDKITE_DEPLOY_CONTENT_PIPELINE_SLUG async triggerBuild( message: string, diff --git a/settings/serverSettings.ts b/settings/serverSettings.ts index 4a1f590e180..0faebe5b70b 100644 --- a/settings/serverSettings.ts +++ b/settings/serverSettings.ts @@ -173,5 +173,8 @@ export const DATA_API_URL: string = clientSettings.DATA_API_URL export const BUILDKITE_API_ACCESS_TOKEN: string = serverSettings.BUILDKITE_API_ACCESS_TOKEN ?? "" +export const BUILDKITE_DEPLOY_CONTENT_PIPELINE_SLUG: string = + serverSettings.BUILDKITE_DEPLOY_CONTENT_PIPELINE_SLUG || + "grapher-deploy-content-master" export const OPENAI_API_KEY: string = serverSettings.OPENAI_API_KEY ?? ""