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 261e58e commit 8e3499fCopy full SHA for 8e3499f
.github/workflows/pr-storybook.yml
@@ -37,8 +37,10 @@ jobs:
37
yarn
38
- name: Extract tag name
39
shell: bash
40
+ env:
41
+ BRANCH_REF: ${{ github.event.pull_request.head.ref }}
42
run: |
- tag=$(branch=${{ github.event.pull_request.head.ref }}; echo ${branch/\//.})
43
+ tag=$(echo ${BRANCH_REF/\//.})
44
if [[ $tag == next.* ]];
45
then
46
echo "##[set-output name=tag;]$tag"
0 commit comments