Skip to content

Commit f27ad3c

Browse files
committed
Use short commit hash fix
1 parent a690bdd commit f27ad3c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/preview.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ jobs:
4141
4242
- name: Export short commit hash
4343
run:
44-
echo "GITHUB_COMMIT_HASH=$(git rev-parse --short
45-
"$GITHUB_COMMIT_HASH")" >> "$GITHUB_ENV"
44+
echo "GITHUB_COMMIT_HASH=${GITHUB_COMMIT_HASH:0:7}" >> "$GITHUB_ENV"
4645

4746
- name: Build the website
4847
run: |

0 commit comments

Comments
 (0)