Skip to content

Commit

Permalink
change pipeline slug
Browse files Browse the repository at this point in the history
  • Loading branch information
Marigold committed Oct 7, 2023
1 parent 6a0f743 commit c3f6ffc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 5 additions & 2 deletions baker/BuildkiteTrigger.ts
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
3 changes: 3 additions & 0 deletions settings/serverSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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-trigger"

export const OPENAI_API_KEY: string = serverSettings.OPENAI_API_KEY ?? ""

0 comments on commit c3f6ffc

Please sign in to comment.