Fork an example project:
by forking a project, you create a copy of the codebase you’re forking from to start from a template instead of starting from scratch.
Change a file to trigger a GitLab CI/CD pipeline: GitLab CI/CD will build and deploy your site to GitLab Pages.
Visit your project’s Settings > Pages to see your website link, and click on it. Bam! Your website is live!
My problem: Pages does not appear in my settings, even though I had a CI job running, that “published” the files to /public.
Do I have to additionally activate the pages anywhere? I can’t find a corresponding setting.
the Pages section will automatically show up assuming your CI job passed.
If you want further help, you’ll want to either link to the .yml file in your repository, or if it’s private, copy and paste the contents of the file into your original post
I am having the same issue. This is my .yml file and my passed CI job. I have used gitlab pages before with no problems and “Pages” always appeared. But, now it is not working in the group project I am working on.
the script section of the .yml file needs to make the /public directory for the artifact to be put inside. If you look at any of the example projects, you’ll see a line doing so.
Apologies. My knowledge of flask is pretty minimal.
And sorry for not catching this earlier, but I realize you’re trying to create pages for a group. As per our pages documentation, for groups, you must create a project called websites.gitlab.io and build it there. If you want to use an existing project, you could rename the project instead of creating a new one.