From cf19da05772eef40f95ce3f1380eb3df409c2b6e Mon Sep 17 00:00:00 2001 From: Ben Tan Date: Wed, 30 Sep 2026 16:41:17 +0100 Subject: [PATCH] [TW-7437] fix(ci): replace removed cloudflare/pages-action with wrangler-action - replace cloudflare/pages-action@v1 with cloudflare/wrangler-action pinned to the v4.1.3 commit SHA - deploy with `wrangler pages deploy site` using the same project name and branch - point the sdk-reference environment URL at the new deployment-url output Co-Authored-By: Claude Opus 5.5 --- .github/workflows/sdk-reference.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/sdk-reference.yml b/.github/workflows/sdk-reference.yml index bf16e9ff..0778499e 100644 --- a/.github/workflows/sdk-reference.yml +++ b/.github/workflows/sdk-reference.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest environment: name: sdk-reference - url: ${{ steps.deploy.outputs.url }} + url: ${{ steps.deploy.outputs.deployment-url }} steps: - uses: actions/checkout@v2 - name: Setup Nodejs @@ -32,12 +32,9 @@ jobs: echo "CLOUDFLARE_BRANCH=$BRANCH" >> "$GITHUB_ENV" fi - name: Publish to Cloudflare Pages - uses: cloudflare/pages-action@v1 + uses: cloudflare/wrangler-action@953926a2e2182532811c01a25e53647d93bf07c0 # v4.1.3 id: deploy with: apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} - projectName: nylas-python-sdk-reference - directory: site - wranglerVersion: "3" - branch: ${{ env.CLOUDFLARE_BRANCH }} \ No newline at end of file + command: pages deploy site --project-name=nylas-python-sdk-reference --branch=${{ env.CLOUDFLARE_BRANCH }} \ No newline at end of file