Skip to content

Commit

Permalink
fix: 103 (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
bokuweb authored Nov 27, 2023
1 parent 7be492e commit b132106
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/push.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,9 @@ export const pushImages = async (input: PushImagesInput) => {
(async () => {
return backOff(
async () => {
await rebase(config.branch, execOptions);
if (branchExist) {
await rebase(config.branch, execOptions);
}
const res = await push(config.branch, execOptions);
log.info(res.stdout);
log.info(`Deployment Successful`);
Expand Down

0 comments on commit b132106

Please sign in to comment.