Skip to content

Commit

Permalink
v2 github, use monorepoPaths on github push to kick off multiple jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
mmeigs committed Oct 30, 2023
1 parent 907f499 commit 06c00cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/controllers/v2/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export const TriggerBuild = async (event: APIGatewayEvent): Promise<APIGatewayPr

const env = c.get<string>('env');

if (process.env.MONOREPO_PATH_FEATURE === 'true') {
if (process.env.MONOREPO_PATH_FEATURE === 'true' && body.repository.name === 'docs-monorepo') {
let monorepoPaths: string[] = [];
try {
if (body.head_commit && body.repository.owner.name) {
Expand Down

0 comments on commit 06c00cc

Please sign in to comment.