Skip to content

Commit ff50ac2

Browse files
amritktaranvohraSamyPesse
authored
Bump @scalar/api-client-react version (#2555)
Co-authored-by: taranvohra <taranvohra@outlook.com> Co-authored-by: Samy Pessé <samypesse@gmail.com>
1 parent 3fe3809 commit ff50ac2

File tree

4 files changed

+13
-8
lines changed

4 files changed

+13
-8
lines changed

.changeset/metal-badgers-chew.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@gitbook/react-openapi': patch
3+
---
4+
5+
Bump @scalar/api-client-react version

.github/workflows/ci.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
checks: write
1919
statuses: write
2020
outputs:
21-
deployment_url: ${{ steps.deploy.outputs.url }}
21+
deployment_url: ${{ steps.deploy.outputs.deployment-url }}
2222
steps:
2323
- name: Checkout
2424
uses: actions/checkout@v4
@@ -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

bun.lockb

64 Bytes
Binary file not shown.

packages/react-openapi/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"version": "0.7.0",
1212
"dependencies": {
13-
"@scalar/api-client-react": "1.0.65",
13+
"@scalar/api-client-react": "1.0.72",
1414
"classnames": "^2.5.1",
1515
"flatted": "^3.2.9",
1616
"openapi-types": "^12.1.3",

0 commit comments

Comments
 (0)