can i set the sha for pages deploys with wrangler?
It seems the sha generated by cf is totally random?
3 Replies
You cannot set it no. It is indeed random, it's the start of the UUID we generate for the deploy
You can grab it from stdout if you want to use it somewhere or use the branch alias (in your case
deploy-preview-test.<PROJECT>.pages.dev
Legit, is there a character limit on the brach alias?
I'm mostly wanting to avoid parsing stdout and passing data between jobs in ci
(because debugging when it goes wrong is kind of a pain)
https://community.cloudflare.com/t/algorithm-to-generate-a-preview-dns-subdomain-from-a-branch-name/477633/2?u=walshymvp
after 28 chars it gets truncated