We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74d1648 commit 07f27f9Copy full SHA for 07f27f9
1 file changed
.github/workflows/update-website.yml
@@ -97,7 +97,7 @@ jobs:
97
id: get_pr_info
98
env:
99
REF_NAME: ${{ github.ref_name }}
100
- TAG_NAME: ${{ github.event.release.tag_name }}
+ TAG_NAME: ${{ github.event.push.ref }}
101
run: |
102
if [ "${{ github.event_name }}" == "pull_request" ]; then
103
echo "REF=$REF_NAME" >> "$GITHUB_OUTPUT"
@@ -124,6 +124,7 @@ jobs:
124
path: artifacts
125
126
- name: Create the new branch
127
+ if: github.event_name == 'pull_request'
128
129
REF_NAME: feature/auto-ghpages-update-${{ steps.get_pr_info.outputs.REF }}
130
run: git checkout -b "$REF_NAME"
0 commit comments