Sign in

What is the way to use Cloudflare and keep the github repository private?

  • This topic has 5 replies, 2 voices, and was last updated 11 months, 2 weeks ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #8949
    Avatar photoseb_oi

    When using Cloudflare as hosting, we have to create a repository on Github. To make it work we have to set the repository as public.

    In the installation manuals of Publii it says that after doing the process you can set it as private, but when I do it the web breaks and the template does not load well.
    Is there any way to keep the github repository private?

    Thanks in advance

    #8957
    Avatar photoseb_oi

    Is there any way to manually upload to cloudflare? I try to upload the output folder and the files do not load. Github often blocks my account for no reason after half an hour of creating it, I would like to skip this step.

    #8960
    Avatar photoJOduMonT

    I have multiple private github repo published with Cloudflare; not just for Publii.

    Give it a try normally it is just a matter of giving proper access to Cloudflare at Github

    https://github.com/settings/installations/25383015

    #8964
    Avatar photoseb_oi

    Thanks for your answer, so first you create the private repository on github, connect to cloudflare and that’s it?

    #8971
    Avatar photoJOduMonT

    yes, the repo need to be created before, and ideally, you sync your Publii with it before connecting CloudFlare to it.

    you need to create the repo first to be able to select it on the Cloudflare side.

    #8974
    Avatar photoseb_oi

    Perfect, I will try it

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.