Skip to content

Commit a890c00

Browse files
committed
Try fixing version
1 parent 50e90a4 commit a890c00

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
SENTRY_DSN: ${{ vars.SENTRY_DSN }}
5959
- id: deploy
6060
name: Deploy to Cloudflare
61-
uses: cloudflare/wrangler-action@v3
61+
uses: cloudflare/wrangler-action@v3.11.0
6262
with:
6363
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
6464
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
@@ -67,7 +67,7 @@ jobs:
6767
command: pages deploy ./packages/gitbook/.vercel/output/static --project-name=${{ vars.CLOUDFLARE_PROJECT_NAME }} --branch=${{ github.ref == 'refs/heads/main' && 'main' || format('pr{0}', github.event.pull_request.number) }}
6868
- name: Outputs
6969
run: |
70-
echo "URL: ${{ steps.deploy.outputs.url }}"
70+
echo "URL: ${{ steps.deploy.outputs.deployment-url }}"
7171
echo "Alias URL: ${{ steps.deploy.outputs.deployment-alias-url }}"
7272
- name: Archive build output
7373
uses: actions/upload-artifact@v4
@@ -77,12 +77,12 @@ jobs:
7777
# Until https://github.com/cloudflare/wrangler-action/issues/301 is done
7878
- name: Update Deployment Status to Success
7979
env:
80-
DEPLOYMENT_URL: ${{ steps.deploy.outputs.url }}
80+
DEPLOYMENT_URL: ${{ steps.deploy.outputs.deployment-url }}
8181
run: |
8282
curl -X POST \
8383
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
8484
-H "Accept: application/vnd.github.v3+json" \
85-
-d '{"state": "success", "target_url": "${{ steps.deploy.outputs.url }}", "description": "Deployed Preview URL for commit", "context": "cloudflare/preview"}' \
85+
-d '{"state": "success", "target_url": "${{ steps.deploy.outputs.deployment-url }}", "description": "Deployed Preview URL for commit", "context": "cloudflare/preview"}' \
8686
https://api.github.com/repos/${{ github.repository }}/statuses/${{ github.sha }}
8787
8888
- name: Find GitHub Comment
@@ -102,8 +102,8 @@ jobs:
102102
issue-number: ${{ github.event.pull_request.number }}
103103
body: |
104104
**GitBook Preview**
105-
Latest commit: [${{ steps.deploy.outputs.url }}](${{ steps.deploy.outputs.url }})
106-
PR: [${{ steps.deploy.outputs.alias }}](${{ steps.deploy.outputs.alias }})
105+
Latest commit: [${{ steps.deploy.outputs.deployment-url }}](${{ steps.deploy.outputs.deployment-url }})
106+
PR: [${{ steps.deploy.outputs.deployment-alias-url }}](${{ steps.deploy.outputs.deployment-alias-url }})
107107
edit-mode: replace
108108
visual-testing:
109109
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)