Skip to content

Commit

Permalink
Update clone url
Browse files Browse the repository at this point in the history
  • Loading branch information
sophialittlejohn committed Jan 13, 2025
1 parent ef531bd commit 095efe0
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 @@ -43,8 +43,8 @@ async function main() {
try {
// Clone the SDK docs repo
const git = simpleGit()
const repoUrl = `https://${process.env.GITHUB_TOKEN}@github.com/org/sdk-docs.git`
await git.clone(repoUrl, './sdk-docs')
const repoUrl = `https://x-access-token:${process.env.GITHUB_TOKEN}@github.com/org/sdk-docs.git`
await git.clone(repoUrl, './sdk-docs', ['--branch', 'generate-docs'])

// TODO: remove: Change into the sdk-docs directory and checkout the branch
await git.cwd('./sdk-docs').checkout('generate-docs')
Expand Down

0 comments on commit 095efe0

Please sign in to comment.