Skip to content

Commit b4500b5

Browse files
committed
cloudflare wrangler update to v3
1 parent 54ffcbd commit b4500b5

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,9 @@ jobs:
3434
run: pnpm build
3535

3636
- name: Deploy to Cloudflare Pages
37-
uses: cloudflare/pages-action@v3
37+
uses: cloudflare/wrangler-action@v3
3838
with:
3939
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
4040
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
41-
projectName: 'portfolio'
42-
directory: 'out'
41+
command: pages deploy out --project-name=portfolio
4342
gitHubToken: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)