For Workers & Pages, what is the name of the domain?
What is the issue or error you’re encountering
Can’t install wrangler, need direct upload
Can’t install wrangler, need direct upload
Sorry for the bogus first post, I’m new here!
I want to be able to upload a static web site from GitLab CI, but I cannot install wrangler in my runner. I figure wrangler is just a front-end to some API calls, but I’m having a difficult time figuring out the right set of API calls and setup I need to do the direct upload.
I can easily build the static HTML into a directory in the GitLab action. I just want to know how to upload the static assets into my Cloudflare Pages, preferable using curl
or a Python REST client.
Thanks!
Any reason you can’t/won’t do the direct git integration? Then your normal build command would trigger build + deployment in Cloudflare Pages, no further action needed.
You could also manually drag and drop your static folder in the dashboard, but I don’t think this is what you’re asking for.
Thanks for the reply!
Yes. Primarily this from the documentation:
Signing in with GitLab will grant Pages access to all repositories on your account.
I do not want to grant Cloudflare access to all my repositories.
Correct.