Browse Source

Fix the target branch in tools/deploy.js

Konstantin Tarkus 9 năm trước cách đây
mục cha
commit
95ad092c69
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      tools/deploy.js

+ 1 - 1
tools/deploy.js

@@ -37,5 +37,5 @@ export default async () => {
   // Push the contents of the build folder to the remote server via Git
   await repo.add('--all .');
   await repo.commit('Update ' + new Date().toISOString());
-  await repo.push(remote.name, remote.branch);
+  await repo.push(remote.name, 'master:' + remote.branch);
 };