Get Deployment ID during Pages build

Is there a way to get the Deployment ID of a Pages deployment during the build step as an environment variable?
I know the CF_PAGES_URL contains a part of the build ID in the subdomain, but I'm looking for a way to get the whole UUID.

Thanks in advance!
Was this page helpful?