Skip to content

Commit

Permalink
Checkout branch later
Browse files Browse the repository at this point in the history
  • Loading branch information
sophialittlejohn committed Jan 14, 2025
1 parent c313385 commit 1c2f461
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/ci-scripts/update-sdk-docs.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 1c2f461

Please sign in to comment.