jrencz
CDCloudflare Developers
•Created by shenjackyuanjie on 4/20/2024 in #pages-help
How to get git information when building pages
I don't have a direct answer to your question but maybe try using cloudflare/pages-action instead of automatic deployment - then you will have as much access to git as allowed on your CI.
My guess is that the CI on which automatic deployments take place is limited
3 replies
CDCloudflare Developers
•Created by jrencz on 4/20/2024 in #pages-help
cloudflare/pages-action: any way to know CF_PAGES_URL ahead of running the action?
Even if thres no way, I can just keep using my (now) long-living branches, but in an ephemeral way: push branch, let it be picked up by automatic deployments, be build, with
CF_PAGES_URL
, as it was so far.
Then I can automate removal from origin
right after that. But that's just more work than switch to Action - I want to make sure that the effort won't be wasted2 replies