Skip to content

Commit

Permalink
fix update
Browse files Browse the repository at this point in the history
  • Loading branch information
CKGrafico committed Jan 23, 2023
1 parent a0613b3 commit 129cd22
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion update.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@ const TEMPLATE_REPO = 'https://github.com/HelpDev/NGO-HelpDev-Storyblok.git';
if (!error.message.includes('already exists')) {
throw error;
}

await git.raw('switch', 'template');
}
await git.raw('fetch', 'template');

await git.raw('pull');

// Move to origin main
await git.raw('switch', 'main');
Expand Down

0 comments on commit 129cd22

Please sign in to comment.