Skip to content

Commit 41b04ea

Browse files
Refactor Github Action per b/485167538
1 parent a21d9a1 commit 41b04ea

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/deploy_versioned_docs.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ jobs:
3535
ref: ${{ github.event.release.tag_name }}
3636

3737
- name: Get Version from Release Tag
38-
run: echo "VERSION=${{ github.event.release.tag_name }}" >> $GITHUB_ENV
38+
run: echo "VERSION=${GITHUB_EVENT_RELEASE_TAG_NAME}" >> $GITHUB_ENV
39+
env:
40+
GITHUB_EVENT_RELEASE_TAG_NAME: ${{ github.event.release.tag_name }}
3941

4042
- name: Setup Hugo
4143
uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3

0 commit comments

Comments
 (0)