From 1c2f46108a7402bd0630d862d5e722fba9bd83db Mon Sep 17 00:00:00 2001 From: sophian Date: Tue, 14 Jan 2025 09:51:43 -0500 Subject: [PATCH] Checkout branch later --- .github/ci-scripts/update-sdk-docs.cjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/ci-scripts/update-sdk-docs.cjs b/.github/ci-scripts/update-sdk-docs.cjs index 429dc01..f1e343d 100644 --- a/.github/ci-scripts/update-sdk-docs.cjs +++ b/.github/ci-scripts/update-sdk-docs.cjs @@ -44,10 +44,10 @@ async function main() { // Clone the SDK docs repo const git = simpleGit() const repoUrl = `https://x-access-token:${process.env.GITHUB_TOKEN}@github.com/centrifuge/sdk-docs.git` - await git.clone(repoUrl, './sdk-docs', ['--branch', 'generate-docs']) + await git.clone(repoUrl, './sdk-docs') // TODO: remove: Change into the sdk-docs directory and checkout the branch - await git.cwd('./sdk-docs').checkout('generate-docs') + // await git.cwd('./sdk-docs').checkout('generate-docs') // Copy docs to the target location await copyDocs(