From bf7a02df5e0df03accd45ef9867c13d089f1b1a9 Mon Sep 17 00:00:00 2001 From: Abdullah Atta Date: Wed, 31 Jan 2024 14:52:18 +0500 Subject: [PATCH] ci: use wrangler directly to publish to cf --- .github/workflows/web.v3-beta.publish.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/web.v3-beta.publish.yml b/.github/workflows/web.v3-beta.publish.yml index dafc179e2..299973dec 100644 --- a/.github/workflows/web.v3-beta.publish.yml +++ b/.github/workflows/web.v3-beta.publish.yml @@ -29,12 +29,4 @@ jobs: run: npm run build:web - name: Publish to Cloudflare Pages - uses: unlike-ltd/github-actions-cloudflare-pages@v1.1.2 - id: pages - with: - cloudflare-api-token: ${{ secrets.CLOUDFLARE_API_TOKEN }} - cloudflare-account-id: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} - cloudflare-project-name: notesnook-v3-beta - directory: ./apps/web/build - github-token: ${{ secrets.GITHUB_TOKEN }} - github-environment: "v3" + run: npx --yes wrangler pages deploy --project-name=notesnook-v3-beta ./apps/web/build/