Questions tagged [gitlab-pages]

127 questions
2
votes
1 answer

Gitlab CI - Publish Failed Test Results to Pages

I'm creating a simple java project using Gradle which generates a test report (i.e. BDD Cucumber, JUnit, etc.). This project is deployed to Gitlab where the project is built as part of the Gitlab CI process. My JUnit reports are generated in the…
Mohammad Najar
  • 2,009
  • 2
  • 21
  • 31
1
vote
1 answer

How can I disable GitLab Pages default domain when using a custom one?

When using a custom domain for GitLab Pages (i.e. mysite.com), it seems that default domain (myaccount.gitlab.io/mysite) is also active, so content is published in both domains at once. How can I disable default domain? If there is an option, I…
1
vote
0 answers

GitLab CI pipeline not triggered on commit (and commit not showing up in Activity feed)

I just started having a problem when I commit to my repo: commit doesn't trigger CI pipeline, even though it should commit doesn't show up in the Activity feed I have a repo on GitLab, and have been using GitLab Pages to publish a static site when…
postylem
  • 1,185
  • 12
  • 26
1
vote
0 answers

Why should gitlab pages not be served as a subdomain of external_url

Excerpt from documentation for setting up GitLab Pages with wildcard DNS entry: https://docs.gitlab.com/ee/administration/pages/#wildcard-domains external_url "http://gitlab.example.com" # external_url here is only for reference pages_external_url…
dahe
  • 806
  • 8
  • 13
1
vote
1 answer

Serve static html pages with Gitlab Pages for each tagged version of a project

I have a code project hosted on a custom gitlab instance. This project is part of a subgroup. We'd like to host static html content, generated by doxygen and similar tools, using Gitlab Pages. Trivial examples work very well, so I believe it's safe…
Intronaut
  • 11
  • 2
1
vote
1 answer

I can't connect Gitlab Pages to my Namecheap domain

I've had multiple problems connecting Gitlab pages to my domain registered at Namecheap. I've tried multiple DNS configurations and none of them seem to work. I got "Failed to verify domain ownership" at the verification step, and even when I got…
1
vote
1 answer

How do I create a root repository for a subgroup?

When I create a group on gitlab, I can create a repo groupname.gitlab.io that is a root folder of the site. And I can create repos such as: css, img and so on, that are subfolders of the site. How do I do the same for a subgroup? I have created a…
user17743009
1
vote
1 answer

Host all GitLab pages on the same domain

I have a self-hosted GitLab instance (version 14.x). Recently I have setup GitLab pages. With my current setup (which is the standard setup as far as I can tell), GitLab pages are hosted…
rveerd
  • 3,620
  • 1
  • 14
  • 30
1
vote
1 answer

How to set up a GitLab Pages staging area (visible without logging in?)

I have a private repo for which I would like to set up a staging area and have it deploy when pushing to dev branch. This is my .gitlab-ci.yml now image: alpine:latest pages: stage: deploy script: - echo 'Nothing to do...' artifacts: …
Leeroy
  • 2,003
  • 1
  • 15
  • 21
1
vote
1 answer

Make HTTPS request to a protected GitLab page

How do I make an HTTPS request to a GitLab page protected by OAuth2? Background: A GL repo assembles draft documentation from multiple development repos and publishes on GitLab Pages. All of this is protected by OAuth2. As we near a release date I…
SJT
  • 1,067
  • 5
  • 10
1
vote
1 answer

path problems when deploying angular app in Gitlab pages

I am currently testing an angular app/java microservices backend, and I deployed the front on Gitlab Pages. The gitlab-ci.yml is pretty simple so far, as I'm just testing the architecture : cache: paths: - node_modules/ stages: - staging …
FloranePlo
  • 59
  • 8
1
vote
1 answer

How to use remote theme in Jekyll project with Gitlab Pages repo?

I am using linux/firefox and I'm having an issue where a jekyll theme does not work when using remote_theme: inside the .config.yml of a Jekyll project kept in a GitLab pages repo. If I clone the theme just-the-docs…
Ender
  • 1,652
  • 2
  • 25
  • 50
1
vote
2 answers

GltLab Pages 401 - You don't have permission to access the resource

Classic GitLab Pages setup issue. Seems I face this every time I try to host a page on GitLab Pages. This time though I forgot how to get past it. All settings look correct: I've turned off all HTTPS/TLS/SSL on the domain in Cloudflare just to…
Mikeumus
  • 3,570
  • 9
  • 40
  • 65
1
vote
1 answer

Gitlab pages 401 error when adding custom domain with Namecheap

After getting the site running on https://*username*.gitlab.io/*project name*/ I tried adding a custom domain. The domain is fitshapeprogressions.com. But this results in the following error: I set the pages to access control to 'everyone' so why…
1
vote
1 answer

Gitlab CI: build for CI and Merge request but publish only CI to pages

I have a .gitlab-ci.yml file which I want to use to run a script for merge request validation. The same script should be used in CI, but only there the result should be published to gitlab pages. Also, only for the CI, the result should be…
1 2 3
8 9