Sfoglia il codice sorgente

Fix the target branch in tools/deploy.js

Konstantin Tarkus 9 anni fa
parent
commit
95ad092c69
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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);
 };