Skip to content

Commit

Permalink
chore: migrate from pages-action to wrangler-action
Browse files Browse the repository at this point in the history
  • Loading branch information
Ray-D-Song committed Oct 9, 2024
1 parent 4e92220 commit 6bea11e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/deploy-to-cloudflare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,8 @@ jobs:
run: pnpm run build:cf

- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: faker-server
directory: dist
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
command: pages deploy dist --project-name=faker-server

0 comments on commit 6bea11e

Please sign in to comment.