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 c3f01ff commit 51bc791
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 @@ -56,9 +56,6 @@ async function createPayload(
githubEvent?: PushEvent,
directory?: string
) {
if (repoName != 'docs-realm') {
return repoName;
}
const jobType = 'githubPush';
const source = 'github';
const project = repoInfo?.project ?? repoName;
Expand Down Expand Up @@ -200,6 +197,9 @@ export const triggerSmokeTestAutomatedBuild = async (event: APIGatewayEvent): Pr
const repoName = SMOKETEST_SITES[s];
const jobTitle = 'Smoke Test ' + repoName;
let repoInfo, projectEntry, repoOwner;
if (repoName != 'docs-realm') {
return repoName;
}
try {
repoInfo = await docsetsRepository.getRepo(repoName);
projectEntry = await projectsRepository.getProjectEntry(repoInfo.project);
Expand Down

0 comments on commit 51bc791

Please sign in to comment.