GitLab Projects in Private Groups Not Visible for Cloudflare Pages

For Workes & Pages, what is the name of the domain?

example.com

What is the issue or error you’re encountering

I cannot deploy a new site from my GitLab, because Cloudflare cannot see the private project in the private group

What steps have you taken to resolve the issue?

  • I have de-auth’d and re-auth’d Cloudflare Pages to GitLab
  • I have created a brand-new private group and project, which Cloudflare didn’t see either
  • I created a brand-new private project NOT in a group, and Cloudflare COULD see it

What are the steps to reproduce the issue?

  • Create a new private group in GitLab
  • Create a new private project in said group
  • Link Cloudflare Pages to GitLab
  • Attempt to deploy a new page from the linked GitLab account, which is impossible because the project is not visible

This other customer has the same issue.
https://community.cloudflare.com/t/not-all-of-my-gitlab-groups-are-visible-on-deploy-a-site-from-your-account-page/655076?u=matthewdairhart

I think I found a really scuffed workaround, but it seemed to work. This is NOT a real solution, though.

  1. Once your project and group are created, and Cloudflare Pages is linked with your GitLab, go to the deploy page screen where you can select your GitLab account
  2. KEEP the page there, leave it alone
  3. In a new tab, create a new project under your existing group
  4. Once the new project is saved, it sometimes refreshes the list in Cloudflare pages on your existing tab. You’ll then see your previously-missing group, and you can select and deploy the right project!