Skip to content

Commit

Permalink
artefact: push to current branch
Browse files Browse the repository at this point in the history
  • Loading branch information
nvitorovic committed Jan 20, 2025
1 parent 7b5b3f6 commit 3888797
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/cleanup.js
Original file line number Diff line number Diff line change
Expand Up @@ -33529,7 +33529,7 @@ async function push() {
await exec.exec('git', ['commit', '-m',
`[skip actions] GitHub Action ${github.context.workflow} Deployed contracts\n\n${await testnetLinks()}`]);
await exec.exec('git', ['reset', '--hard', 'HEAD']);
await exec.exec('git', ['pull', '--rebase', 'origin', 'main']);
await exec.exec('git', ['pull', '--rebase', 'origin', github.context.ref]);
await exec.exec('git', ['push']);
}
async function testnetLinks() {
Expand Down
2 changes: 1 addition & 1 deletion src/cleanup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ async function push(): Promise<void> {
await exec.exec('git', ['commit', '-m',
`[skip actions] GitHub Action ${github.context.workflow} Deployed contracts\n\n${await testnetLinks()}`]);
await exec.exec('git', ['reset', '--hard', 'HEAD']);
await exec.exec('git', ['pull', '--rebase', 'origin', 'main']);
await exec.exec('git', ['pull', '--rebase', 'origin', github.context.ref]);
await exec.exec('git', ['push']);
}

Expand Down

0 comments on commit 3888797

Please sign in to comment.