Questions tagged [gitlab-pages]

127 questions
0
votes
1 answer

Retrieve 502 errors during dotnet restore using gitlab package registry

Have some issue during running dotnet restore. I have GitLab private package registry, and during dotnet restore I have a bunch of 502 errors during restore. It seems that it tries to get external dependencies from my private registry. Honestly I do…
Roman R.
  • 29
  • 5
0
votes
0 answers

Publish static HTML to GitLab pages (no build, no CI/CD)

I have a collection of static HTML pages that I want to publish to GitLab Pages. These HTML documents were rendered as part of a computationally intensive snakemake workflow running on a HPC. The workflow "knits" HTML reports from Rmarkdown as part…
j0hn
  • 25
  • 3
0
votes
0 answers

Minimal .gitlab-ci.yml file for a plain HTML website

Website content . ├── index.html └── images/ ├── a.jpg ├── b.jpg └── c.jpg I wonder if the following is still valid and reliable. I found it on a blog post written in 2016. pages: stage: deploy script: - mkdir .public - cp -r *…
Mori
  • 8,137
  • 19
  • 63
  • 91
0
votes
0 answers

HAProxy double subdomains behind PFSense

I was configuring GitLab Pages behind HAProxy on PFSense, but a ran into a problem where HAProxy would not support double subdomains. (e.g. foo.bar.example.com) I tried to do If host ends with page.foo.com then use backend page. It should have…
0
votes
1 answer

Cobertura page is empty/unknown after deploying to Gitlab's pages

To run the test locally, I use this: "test-ci": "jest --runInBand webapp/test/ivw --config ./jest.config.js --watchAll=false", In the terminal, I have the coverage report fine, and this also generates de Cobertura page: I have 2 stages in my…
Dani
  • 3,128
  • 2
  • 43
  • 91
0
votes
0 answers

What I have to do for to enable gitlab-pages with hugo static site generator in gitlab docker?

What I have to do for to enable gitlab-pages with hugo static site generator in gitlab docker ? The gitlab server is already running on my server. I only need the gitlab-pages and hugo part My work : J'utilise la distribution debian. sshd Le port 22…
sysc4ll
  • 7
  • 3
0
votes
0 answers

Gitlab Pages access with curl or postman

I've created a gitlab page for myself and now want to access the page via a curl or a postman request. Seems that I can but the only way I can do this is by setting the Pages variable to Everyone. The issue being it will be accessible without any…
Mikey
  • 37
  • 5
0
votes
0 answers

Unable to make .env to work on ReactJS project deployed to GitLab Pages

I have a ReactJS project that I have been deploying to GitLab Pages for a while without any issues. Today however I started using .env files to get the app name and app version from the package.json…
0
votes
0 answers

Gitlab Pages constantly returns status 404 after pipeline succeeds

I'm trying to deploy a simple .html report, which is created after testing, to the Gitlab Pages. Everything is pretty straightforward according to the official documentation however, I'm constantly getting the 404 status when I open the…
0
votes
0 answers

Download Gitlab Pages from other project

I'm working in project to download all artifacts gitlabpages from a list of projects. I need to download .../index.html for each project. When I m trying to do it, I get the first screen of authentication of Gitlab. Perhaps it is access problem. It…
Younes Ben Tlili
  • 263
  • 1
  • 2
  • 15
0
votes
1 answer

Is it ok to expose API keys in frontend code if the site is behind a login?

I'm trying to develop a simple internal site for home use in React (using Vite). The only users will be members of my household and never anyone else. For this project I decided to go with GitLab Pages as it allows me to make a private pages site…
0
votes
1 answer

How to publish a plain html web site on GitLab Pages without CI's, runner's, etc?

I want to use GitLab Pages service, but I am unable/not willing to provide my card to enable GitLab CI, which is now restricted. How can I publish a plain html website without using any of this processing bs? Plain html does not need any processing!
PChemGuy
  • 1,582
  • 3
  • 6
  • 18
0
votes
1 answer

Use gitlab/github pages to publish app-ads.txt for Admob

Admob looks for this file in the root of the pages. The problem with either gitlab or github is that you can create these pages for free, but you end up having a link like this: https://accountName.github.io/projectName Admob doesn't expect to have…
Dani
  • 3,128
  • 2
  • 43
  • 91
0
votes
1 answer

GitLab Rest API set GitLab Pages visibility to 'Everyone'

I have a program that allows me to automatically create a new GitLab project with the GitLab API and I would like to be able via this API to set the visibility of Pages to 'Everyone', which defaults to 'Only project members'. I looked in the doc but…
Nicolas
  • 51
  • 2
0
votes
1 answer

Can I use Keycloak auth for Gitlab Pages?

I am currently looking at Gitlab Pages for hosting & serving my app documentation. Unfortunately I can't tell from their documentation if I can use it with my existing Keycloak instance. I'd like my Gitlab Page to be accessible only by logged in app…
watt
  • 799
  • 3
  • 8
  • 22
1 2 3
8 9