Skip to content

Commit 039c64c

Browse files
tytan652derrod
authored andcommitted
Migrate workflow to wrangler 3
`wrangler publish` is deprecated in favor of `wrangler deploy`
1 parent 0788e0b commit 039c64c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cf_deploy.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ jobs:
2828

2929
- name: Build
3030
if: github.event_name != 'workflow_dispatch'
31-
run: wrangler publish --dry-run
31+
run: wrangler deploy --dry-run
3232

3333
- name: Publish
3434
if: github.event_name == 'workflow_dispatch'
35-
run: wrangler publish
35+
run: wrangler deploy
3636
env:
3737
CLOUDFLARE_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
3838

0 commit comments

Comments
 (0)