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 4aa6280 commit 2bbd8f4Copy full SHA for 2bbd8f4
.github/actions/set-heroku-app-name/action.yml
@@ -26,9 +26,8 @@ runs:
26
#
27
# All other cases publish to the review app
28
run: |-
29
- export CURRENT_DEFAULT_BRANCH=`git remote show origin | grep "HEAD branch" | cut -d ":" -f 2 | xargs`
30
echo 'HEROKU_RELEASE_STORYBOOK_APP_NAME=false' >> $GITHUB_OUTPUT
31
- if [[ "${{ github.ref }}" = "${CURRENT_DEFAULT_BRANCH}" ]] ; then
+ if [[ "${{ github.event.ref_name }}" = "${{ github.event.repository.default_branch }}" ]] ; then
32
echo "Publishing to UPCOMING..."
33
echo 'HEROKU_APP_NAME=${HEROKU_APP_UPCOMING}' >> $GITHUB_OUTPUT
34
echo 'HEROKU_RELEASE_STORYBOOK_APP_NAME=storybook-upcoming' >> $GITHUB_OUTPUT
0 commit comments