Skip to content

Commit 9ff0f83

Browse files
authored
Remove requirement for checkout
1 parent 7467fec commit 9ff0f83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy-preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
- name: Set short git commit SHA
5959
id: vars
6060
run: |
61-
calculatedSha=$(git rev-parse --short ${{ github.event.pull_request.head.sha }})
61+
calculatedSha=$(echo ${{ github.event.pull_request.head.sha }} | head -c 8)
6262
echo "COMMIT_SHORT_SHA=$calculatedSha" >> $GITHUB_ENV
6363
6464
- name: Deploy to Cloudflare

0 commit comments

Comments
 (0)