From 8d675992783d576b3eb1cc1d82146ee55db42a63 Mon Sep 17 00:00:00 2001 From: Abdullah Atta Date: Mon, 7 Aug 2023 20:11:11 +0500 Subject: [PATCH] ci: deploy directly using wrangler --- .github/workflows/web.publish.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/web.publish.yml b/.github/workflows/web.publish.yml index 568ed10c1..8149d689e 100644 --- a/.github/workflows/web.publish.yml +++ b/.github/workflows/web.publish.yml @@ -28,12 +28,4 @@ jobs: run: npm run build:web - name: Publish to Cloudflare Pages - uses: unlike-ltd/github-actions-cloudflare-pages@v0.1.1 - id: pages - with: - cloudflare-api-token: ${{ secrets.CLOUDFLARE_API_TOKEN }} - cloudflare-account-id: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} - cloudflare-project-name: notesnook-app - directory: ./apps/web/build - github-token: ${{ secrets.GITHUB_TOKEN }} - github-environment: production + run: npx --yes wrangler pages deploy --project-name=notesnook-app ./apps/web/build/