diff --git a/.github/scripts/sync-database.js b/.github/scripts/sync-database.js index 678de8a..ef51a10 100644 --- a/.github/scripts/sync-database.js +++ b/.github/scripts/sync-database.js @@ -13,6 +13,7 @@ function checkoutBranch(branch) { cp.execFileSync('git', ['checkout', branch]); } catch (e) { cp.execFileSync('git', ['checkout', '-b', branch]); + cp.execFileSync('git', ['push', '-u', 'origin', branch]); } cp.execSync('git pull'); }