Skip to content

Commit

Permalink
oauth for authorization
Browse files Browse the repository at this point in the history
  • Loading branch information
sophialittlejohn committed Jan 14, 2025
1 parent d97b7f1 commit 20843ed
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/ci-scripts/update-sdk-docs.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ async function main() {
// Add and commit changes
await git.add('.').commit('Update SDK documentation')

// Set the authenticated remote URL before pushing
const authUrl = `https://x-access-token:${process.env.PAT_TOKEN}@github.com/centrifuge/sdk-docs.git`
const authUrl = `https://oauth2:${process.env.PAT_TOKEN}@github.com/centrifuge/sdk-docs.git`
await git.remote(['set-url', 'origin', authUrl])

// Push the new branch
Expand Down

0 comments on commit 20843ed

Please sign in to comment.