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
This commit is contained in:
Manav Rathi 2024-05-10 20:11:12 +05:30
parent 10fba07e25
commit 938cecf2d3
No known key found for this signature in database

View file

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