Skip to content

Commit

Permalink
fix: set the oauth2 app for remotegitrepourl
Browse files Browse the repository at this point in the history
  • Loading branch information
vanlooverenkoen committed Nov 30, 2023
1 parent 06262e4 commit 067ea1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ async function run() {
await runInWorkspace('git', ['tag', tag])

// Pushing changes
const remoteGitRepoUrl = `https://${githubToken}@github.com/${process.env.GITHUB_REPOSITORY}.git`
const remoteGitRepoUrl = `https://oauth2:${githubToken}@github.com/${process.env.GITHUB_REPOSITORY}.git`
await runInWorkspace('git', ['push', remoteGitRepoUrl])
await runInWorkspace('git', ['push', remoteGitRepoUrl, '--tags'])

Expand Down

0 comments on commit 067ea1d

Please sign in to comment.