Skip to content

Commit f3fd6cd

Browse files
committed
feat: try wrangler action
1 parent b929c83 commit f3fd6cd

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/prod.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ jobs:
3030
run: pnpm exec opennextjs-cloudflare build
3131

3232
- name: Deploy
33-
run: pnpm exec opennextjs-cloudflare deploy
34-
env:
35-
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
36-
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
37-
CI: true
33+
uses: cloudflare/wrangler-action@v3
34+
with:
35+
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
36+
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
37+
command: exec opennextjs-cloudflare deploy

0 commit comments

Comments
 (0)