Jelajahi Sumber

Fix the target branch in tools/deploy.js

Konstantin Tarkus 9 tahun lalu
induk
melakukan
95ad092c69
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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);
 };