Skip to content

Commit 99836bc

Browse files
committed
fix review app determination logic
1 parent 2bbd8f4 commit 99836bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/set-heroku-app-name/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ runs:
2727
# All other cases publish to the review app
2828
run: |-
2929
echo 'HEROKU_RELEASE_STORYBOOK_APP_NAME=false' >> $GITHUB_OUTPUT
30-
if [[ "${{ github.event.ref_name }}" = "${{ github.event.repository.default_branch }}" ]] ; then
30+
if [[ "${{ github.ref_name }}" = "${{ github.event.repository.default_branch }}" ]] ; then
3131
echo "Publishing to UPCOMING..."
3232
echo 'HEROKU_APP_NAME=${HEROKU_APP_UPCOMING}' >> $GITHUB_OUTPUT
3333
echo 'HEROKU_RELEASE_STORYBOOK_APP_NAME=storybook-upcoming' >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)