1 parent 8403962 commit 8f5b574Copy full SHA for 8f5b574
1 file changed
.github/workflows/deploy-cloudflare-worker.yml
@@ -35,6 +35,10 @@ jobs:
35
timeout-minutes: 30
36
permissions:
37
contents: read
38
+ outputs:
39
+ version_id: ${{ steps.upload.outputs.version_id }}
40
+ version_tag: ${{ steps.upload.outputs.version_tag }}
41
+ smoke_base_url: ${{ steps.upload.outputs.smoke_base_url }}
42
env:
43
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
44
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
@@ -157,6 +161,6 @@ jobs:
157
161
- name: Verify promotion SHA
158
162
run: test "$(git rev-parse HEAD)" = "$GITHUB_SHA"
159
163
160
- - run: npm run promote:cloudflare -- "$GITHUB_SHA"
164
+ - run: npm run promote:cloudflare -- "${{ needs.build-and-preview.outputs.version_id }}"
165
166
- run: npm run smoke:cloudflare -- "$CLOUDFLARE_SMOKE_BASE_URL"
0 commit comments