Preview deployments non a thing with Assets?
With Pages I could just push to another branch and that got its own
.pages.dev
URL. Doing the same with Workers Assets doesn't give me such URL, so... how can I get a preview deployment?—say that of the dev
branch5 Replies
like this https://developers.cloudflare.com/pages/configuration/preview-deployments/
i'm guessing i have to use this https://developers.cloudflare.com/workers/wrangler/environments/
There's no preview environment for Workers today, for other envs yes you'll need to use the wiki page referenced
We do have previews though with https://developers.cloudflare.com/workers/configuration/previews/
Cloudflare Docs
Preview URLs · Cloudflare Workers docs
Preview URLs allow you to preview new versions of your project without deploying it to production.

isn't this something not available if i want to use the git integration?
It's available
Every version uploaded with previews enabled generates a preview
i'm a lil confused. if i want the
dev
branch to be automatically built (like pages used to) i need to manually run the deploy command each time? or set up a new worker that listens on that branch, correct?