Cloudflare DevelopersCD
Cloudflare Developers6mo ago
4 replies
Matthias

Workers preview urls

Hi all, I just want to ask to confirm --- when I connect a git repo to be deployed to workers, I see it adds a comment to my PRs, but unlike Pages, this comment doesn't include a preview url (I can construct it manually but I'd like it printed on the PR like the Pages integration does). Is this the intended behavior, or is there a way I can configure it to print a preview url?

Also, is it currently possible for worker project preview urls to have their own variables? My wrangler.jsonc has separate env sections with different vars blocks, but the preview branches don't seem to use them (oh, and the logs don't show any of my console.log statements, which is another thing I'm wrestling with. I'm considering going back to pages).
Was this page helpful?