Skip to content

Commit d81184e

Browse files
committed
Use github.sha
1 parent e91e150 commit d81184e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- name: Setup .env.production
4141
run:
4242
echo "VITE_GITHUB_REPO_NAME=${{ github.event.repository.name }}" >> .env.production &&
43-
echo "VITE_GIT_COMMIT=${{ github.event.head_commit }}" >> .env.production
43+
echo "VITE_GIT_COMMIT=${{ github.sha }}" >> .env.production
4444
- name: Test .env.production
4545
run: cat .env.production
4646
- name: Build

0 commit comments

Comments
 (0)