We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3741998 commit 4b7058aCopy full SHA for 4b7058a
src/commands/deploy-via-git.yml
@@ -55,9 +55,9 @@ steps:
55
heroku_url="https://heroku:$<< parameters.api-key >>@git.heroku.com/<< parameters.app-name >>.git"
56
57
if [ -n "<< parameters.branch >>" ]; then
58
- git push $force $heroku_url << parameters.branch >>:master
+ git push $force $heroku_url << parameters.branch >>:main
59
elif [ -n "<< parameters.tag >>" ]; then
60
- git push $force $heroku_url << parameters.tag >>^{}:master
+ git push $force $heroku_url << parameters.tag >>^{}:main
61
else
62
echo "No branch or tag found."
63
exit 1
0 commit comments