Skip to content

Commit f15455d

Browse files
committed
Try this
1 parent fc9a89c commit f15455d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ jobs:
187187
npx wrangler pages publish ./ \
188188
--project-name=${{ matrix.app.cloudflareName }} \
189189
--branch=${{ github.event.workflow_run.head_branch }} \
190-
--commit-hash=${{ github.event.workflow_run.head_commit }}
190+
--commit-hash=${{ github.event.workflow_run.head_sha }}
191191
env:
192192
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
193193
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}

.github/workflows/deploy-preview.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ jobs:
119119
npx wrangler pages deploy ./ \
120120
--project-name=${{ matrix.app.cloudflareName }} \
121121
--branch=${{ github.event.workflow_run.head_branch }} \
122-
--commit-hash=${{ github.event.workflow_run.head_commit }}
122+
--commit-hash=${{ github.event.workflow_run.head_sha }}
123123
env:
124124
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
125125
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
@@ -138,7 +138,7 @@ jobs:
138138
message: |+
139139
| Project | Preview URL |
140140
| ------- | ----------- |
141-
| Limber | https://${{ github.event.workflow_run.head_commit }}.limber-glimdown.pages.dev |
142-
| Tutorial | https://${{ github.event.workflow_run.head_commit }}.limber-glimmer-tutorial.pages.dev |
141+
| Limber | https://${{ github.event.workflow_run.head_sha }}.limber-glimdown.pages.dev |
142+
| Tutorial | https://${{ github.event.workflow_run.head_sha }}.limber-glimmer-tutorial.pages.dev |
143143
144144
[Logs](https://github.com/NullVoxPopuli/limber/actions/runs/${{ github.run_id }})

0 commit comments

Comments
 (0)