deasydoesit
deasydoesit
CDCloudflare Developers
Created by deasydoesit on 5/9/2024 in #workers-help
Wrangler versions deploy - deploy latest version?
I'm using wrangler 3.55.0 in the context of a CI/CD pipeline in Github Actions. When a new git tag gets created, I'm trying to perform the following: (1) Create new Worker version via wrangler versions upload for the git tag (2) Deploy the newly created Worker version via wrangler versions deploy However, I'm finding it clunky to do so. From my understanding, wrangler versions deploy doesn't offer a flag for deploying a "latest" version, so you need to parse the output of wrangler versions upload which is in a generic text format as there's no current option for structured output via JSON. Any suggestions?
1 replies