Skip to content

Commit cde3ad7

Browse files
authored
fix version commit sha (#75)
1 parent f977ac8 commit cde3ad7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/deploy.yml

+5
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,13 @@ jobs:
2020
- uses: actions/checkout@v4
2121
- uses: oven-sh/setup-bun@v1
2222

23+
- id: vars
24+
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
25+
2326
- run: bun install
2427
- run: bun run build
28+
env:
29+
VITE_PUBLIC_GIT_SHA: ${{ steps.vars.outputs.sha_short }}
2530

2631
- uses: actions/upload-pages-artifact@v3
2732
with:

0 commit comments

Comments
 (0)