Skip to content

Commit 2909c52

Browse files
authored
Fix branch name in Heroku deployment workflow
1 parent 0c19bde commit 2909c52

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/depoy.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,10 @@ jobs:
1414
- name: "Set Heroku app & branch for ${{ github.ref }}"
1515
run: |
1616
echo $GITHUB_REF
17-
if [ "$GITHUB_REF" == "refs/heads/master" ]; then
17+
if [ "$GITHUB_REF" == "refs/heads/main" ]; then
1818
echo "HEROKU_APP=" >> $GITHUB_ENV
19-
echo "HEROKU_BRANCH=master" >> $GITHUB_ENV
2019
fi
21-
echo "HEROKU_BRANCH=master" >> $GITHUB_ENV
20+
echo "HEROKU_BRANCH=main" >> $GITHUB_ENV
2221
- name: Install Heroku CLI
2322
run: |
2423
curl https://cli-assets.heroku.com/install.sh | sh

0 commit comments

Comments
 (0)