Skip to content

Commit

Permalink
Implement triggers deploy command (#5426)
Browse files Browse the repository at this point in the history
  • Loading branch information
RamIdeas committed Mar 28, 2024
1 parent aa22144 commit 9343714
Show file tree
Hide file tree
Showing 14 changed files with 572 additions and 328 deletions.
11 changes: 11 additions & 0 deletions .changeset/big-pumas-count.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"wrangler": minor
---

feature: added a new `wrangler triggers deploy` command

This command currently requires the `--experimental-versions` flag.

This command extracts the trigger deployment logic from `wrangler deploy` and allows users to update their currently deployed Worker's triggers without doing another deployment. This is primarily useful for users of `wrangler versions upload` and `wrangler versions deploy` who can then run `wrangler triggers deploy` to apply trigger changes to their currently deployed Worker Versions.

The command can also be used even if not using the `wrangler versions ...` commands. And, in fact, are already using it implicitly when running `wrangler deploy`.

0 comments on commit 9343714

Please sign in to comment.