ci: deploy directly using wrangler

This commit is contained in:
Abdullah Atta
2023-08-07 20:11:11 +05:00
parent c8da5770c8
commit 8d67599278

View File

@@ -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/