Skip to content

Commit

Permalink
fix: remove old origin
Browse files Browse the repository at this point in the history
  • Loading branch information
vanlooverenkoen committed Nov 30, 2023
1 parent 0c5f107 commit 7532f66
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ async function run() {

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

0 comments on commit 7532f66

Please sign in to comment.