Uploading assets for "direct deployment" CF Pages

We're building our CF page in our own service rather than using the CF build service. Our goal is to create a new (preview) deployment, retrieve the URL for that deplyoment (to use elsewhere), then upload the build assets to that deployment. How would we do that with the REST API?

I see the docs for creating a new deployment, but now how to push build assets to it: https://developers.cloudflare.com/api/operations/pages-deployment-create-deployment
Interact with Cloudflare's products and services via the Cloudflare API
Was this page helpful?