This repo is according to the Cloudflare wrangler https://github.com/cloudflare/workers-sdk/blob/main/packages/wrangler/src/pages/upload.tsx
Another way to upload Cloudflare page assets is using npx wrangler@${wranglerVersion} pages publish "${directory}" --project-name="${projectName}" --branch="${branch}"
Following the guide of pages-action