File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -264,7 +264,11 @@ const buildContributorDocs = async () => {
264264 latestRelease = `v${ latestRelease } ` ;
265265 }
266266
267- await cloneLibraryRepo ( clonedRepoPath , docsRepoUrl , latestRelease ) ;
267+ await cloneLibraryRepo (
268+ clonedRepoPath ,
269+ process . env . P5_REPO_URL || docsRepoUrl ,
270+ process . env . P5_BRANCH || latestRelease ,
271+ ) ;
268272
269273 // Clean out previous files
270274 console . log ( "Cleaning out current content collection..." ) ;
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ export const cloneLibraryRepo = async (
3535 shouldFixAbsolutePathInPreprocessor ?: boolean
3636 } = { }
3737) => {
38+ console . log ( `Considering cloning repo: ${ repoUrl } branch: ${ branch } into path: ${ localSavePath } ` ) ;
3839 const git = simpleGit ( ) ;
3940
4041 const repoExists = await fileExistsAt ( localSavePath ) ;
You can’t perform that action at this time.
0 commit comments