Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
onekiloparsec committed May 23, 2020
1 parent 1c780a6 commit 0c43448
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ try {
console.log(`Successfully set remote for ${app_name}.`);

execSync(`
[ \"\`git rev-parse --abbrev-ref HEAD\`\" == \"${branch}\" ] && git push heroku \`git subtree split --prefix=${subfolder} ${branch}\`:master --force || echo \"No deploy, wrong branch.\"
[ \"\`git rev-parse --abbrev-ref HEAD\`\" == \"${branch}\" ] && git push heroku \`git subtree split --prefix=${subfolder} master\`:master --force || echo \"No deploy, wrong branch.\"
`, {shell: '/bin/bash'})
console.log("Deploy successful.");

Expand Down

0 comments on commit 0c43448

Please sign in to comment.