Github Integration Missing Preview URLs

Hello! I've been using Workers for a bit, and recently integrated with our GitHub repo for CI/CD. I have it all setup so that on a new PR I trigger deployments via wrangler versions upload. I can see a preview URL being created in the Build Log, which I can navigate to, but I'm not seeing that preview URL in the Cloudflare Bot's message on the PR. It's a bit of a pain to have to click the build link, scroll through the logs, select the link in the logs, and visit it. Am I missing some configuration which populates the URL in GitHub? Thanks!
9 Replies
texan
texan2mo ago
?link
SuperHelpflare
SuperHelpflare2mo ago
Please use the /link command to authenticate with your Cloudflare account and link it to your Discord user. This helps Cloudflare employees access your details more quickly and provide support. It also makes future support requests easier, since your account will already be linked.
texan
texan2mo ago
Also, do you have a build id?
robotrory
robotroryOP2mo ago
@Will Taylor | Workers I'm getting an error while linking my account, so not sure if you can see the account. I've messaged you privately with details too.
robotrory
robotroryOP2mo ago
Additionally, this is what I see on GitHub (no preview links), and this is the redacted info from the build (showing a preview link)
texan
texan2mo ago
Interesting you don’t have a branch alias… What version of wrangler are you using?
robotrory
robotroryOP5w ago
I was on 4.33.0, but I've just updated to 4.44.0 and latest wrangler compat date, and I'm still not seeing a branch alias on PR previews. Latest PR preview build using Wrangler 4.44.0 but no alias is f6719f3c-98e5-4b5c-a8f3-bae34c44a479.
texan
texan5w ago
Huh.. yeah there's also been a lot of changes recently to how previews are configured. Do you have previews enabled in dash or your wrangler config?
robotrory
robotroryOP5w ago
I have them enabled in both. I started by enabling in the dashboard, but have also added "preview_urls": true to wrangler.jsonc. I've configured the preview URLs to be behind Cloudflare Access if that makes any difference?

Did you find this page helpful?