From 938cecf2d3e6632a910ef1dbe7f3a287dca41a38 Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Fri, 10 May 2024 20:11:12 +0530 Subject: [PATCH] Move from deprecated action Test with first one, will move the rest subsequently Ref: - https://github.com/cloudflare/pages-action/issues/117#issuecomment-2053610761 - https://github.com/cloudflare/wrangler-action --- .github/workflows/docs-deploy.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docs-deploy.yml b/.github/workflows/docs-deploy.yml index 01b0c2254..df898727d 100644 --- a/.github/workflows/docs-deploy.yml +++ b/.github/workflows/docs-deploy.yml @@ -37,11 +37,8 @@ jobs: run: yarn build - name: Publish - uses: cloudflare/pages-action@1 + uses: cloudflare/wrangler-action@v3 with: accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} - projectName: ente - branch: help - directory: docs/docs/.vitepress/dist - wranglerVersion: "3" + command: pages deploy --project-name=ente --branch=help docs/docs/.vitepress/dist