404 error publishing website

I’m getting a 404 error when trying to publish a website on a private repository. I’m on Github free, so I cannot change settings on Github Pages. Is there still a way for me to publish a website? I have all the files I need (index.html, CSS, Javascript files).

GitHub Pages sites hosted from private repositories are only available on the Pro plan:


You’ll either need to upgrade your account to GitHub pro or convert your repository to public to enable GitHub Pages for this repository.