I have a private repository where I’ve made a simple site, but it does not work. It always gives a 404 error, and everything I tried does not work. I use Cloudflare with GitLab. I set up the DNS records correctly. This is my root:
- .gitlab-cy.yml (HTML template)
- bg.jpg
- favicon.ico
- index.html
- LICENSE
- README
Here’s my .gitlab-cy.yml if it matters:
pages:
stage: deploy
script:
- mkdir .public
- cp -r * .public
- mv .public public
artifacts:
paths:
- public
only:
- master
Please help with this. I do not know how to fix it. For important reasons I am unable to share the repo, but if it’s needed I can clone it and put it here.