Skip to content

Commit

Permalink
DOP-4414 fewer sites
Browse files Browse the repository at this point in the history
  • Loading branch information
anabellabuckvar committed Mar 15, 2024
1 parent a324aa9 commit d1aa508
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/controllers/v2/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,12 +219,12 @@ export const triggerSmokeTestAutomatedBuild = async (event: APIGatewayEvent): Pr

const payload = await createPayload(repoName, true, jobPrefix, repoBranchesRepository, repoInfo, repoOwner);

if (repoName != 'docs-realm') {
return payload;
}
//add logic for getting master branch, latest stable branch
const job = await prepGithubPushPayload(body, payload, jobTitle);

if (repoName == 'docs') {
return job;
}
try {
consoleLogger.info(job.title, 'Creating Job');
const jobId = await jobRepository.insertJob(job, c.get('jobsQueueUrl'));
Expand Down

0 comments on commit d1aa508

Please sign in to comment.