Skip to content

Commit b52fcb3

Browse files
committed
fixing branch name reference and removing debug info
1 parent 5615d9e commit b52fcb3

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/pr-storybook.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,10 @@ jobs:
2929
run: |
3030
npm install -g yarn lerna
3131
yarn
32-
- env:
33-
EVENT_CONTEXT: ${{ toJSON(github.event) }}
34-
run: |
35-
echo $EVENT_CONTEXT
3632
- name: Extract tag name
3733
shell: bash
3834
run: |
39-
tag=$(branch=${GITHUB_REF#refs/heads/}; echo ${branch/\//.})
35+
tag=$(branch=${{ github.event.pull_request.head.ref }}; echo ${branch/\//.})
4036
if [[ $tag == next.* ]];
4137
then
4238
echo "##[set-output name=tag;]$tag"

0 commit comments

Comments
 (0)