Skip to content

Commit 4b7058a

Browse files
authored
[semver:patch] Push to main instead of master (#21)
1 parent 3741998 commit 4b7058a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/commands/deploy-via-git.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ steps:
5555
heroku_url="https://heroku:$<< parameters.api-key >>@git.heroku.com/<< parameters.app-name >>.git"
5656
5757
if [ -n "<< parameters.branch >>" ]; then
58-
git push $force $heroku_url << parameters.branch >>:master
58+
git push $force $heroku_url << parameters.branch >>:main
5959
elif [ -n "<< parameters.tag >>" ]; then
60-
git push $force $heroku_url << parameters.tag >>^{}:master
60+
git push $force $heroku_url << parameters.tag >>^{}:main
6161
else
6262
echo "No branch or tag found."
6363
exit 1

0 commit comments

Comments
 (0)