how can i update my worker version?

i can't see ant button created deployment, so how can't i deploy new version for worker ???
No description
4 Replies
olafg
olafg2mo ago
You can deploy a new version via the Wrangler CLI or using the Git integration
Gab
Gab2mo ago
there are 3 ways to deploy a new version of your worker: 1- Deploy with cloudfalre goto workers tab at your account -> select your target worker -> at the left-top, you will see a code icon, click on it, its gonna redirect you to an online code editor, where yuu can edit your code, test and deploy it
No description
No description
Gab
Gab2mo ago
2- deploy by wrangler CLI. Install de wrangler cli, goto your project root (where wrangler.jsonc/toml and your index.ts is located), hit:
wrangler deploy
wrangler deploy
, you'll need to configure your account ( the cli help yout) and its gonna automatically deploy your code and generate a new url
Gab
Gab2mo ago
3- you can configure git automatically deploys at your worker. select your worker -> click on settins -> click on build -> click on connect at git repository area -> select your git account/worker/branch and buiild commands it will automatically execute deploy bases on your git configurations
No description

Did you find this page helpful?