Skip to content

Commit ec13a2a

Browse files
authored
fix: fix hash.txt issue from build.yaml (#1001)
1 parent c80089f commit ec13a2a

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
@@ -11,7 +11,7 @@ jobs:
1111
node-version: 18
1212
cache: 'npm'
1313
- name: Get Commit Hash and generate Version File
14-
run: echo "$(git rev-parse --short HEAD)" >> public/hash.txt
14+
run: echo "${{ github.event.pull_request.head.sha }}" >> public/hash.txt
1515
- name: Run install
1616
run: npm ci
1717
- name: Build

0 commit comments

Comments
 (0)