Questions tagged [gitlab-pages]
127 questions
1
vote
1 answer
React-router and Gitlab pages: Loss of location.state
Im hosting a react-app on gitlab pages and i use react-router for routing between pages using historyRouter. The routing works fine, but when i reload (hit f5) or open a route directly by pasting the url into my adressbar, the site loses their whole…

Alex
- 132
- 1
- 4
- 21
1
vote
0 answers
Integrating static content when testing Gitlab pages with a local Jekyll installation
I have built a Gitlab Pages site using the Start Bootstrap Creative theme. The theme has some static files, which reside in their own directory tree at static. When the site is deployed, content placed in static/foo/bar is available at…

user149408
- 5,385
- 4
- 33
- 69
1
vote
0 answers
how can i customize gitlab page domain
On gitlab page it will always give you a domain name such as
https://gitlab.com/username/projectname/pages/domains
BUT I WANT something like
https://thedomainiwant.com
what i should do
when i click New Domain on gitlab page it says something i…

Shanks
- 95
- 9
1
vote
2 answers
I tried setting up gitlab pages with my react app but it's showing me 404 error
I tried setting up gitlab pages with my react app, however, I'm unable to do it as it's not generating any url for me to go to. I've set up gitlab-ci.yml.
> image: node:latest
pages:
script:
- npm install
- npm run build
- mkdir…

ソフトウェア開発者
- 21
- 1
- 5
1
vote
0 answers
Gitlab CE 10.x.x Omnibus installation: no "Pages" Settings pane?
I was trying to follow the Gitlab directions for setting up Gitlab Pages on my custom domain gitlab installation. But for the specific instruction:
navigate to your project's Setting > Pages and click + New
domain to add your custom domain to…

Ogre Psalm33
- 21,366
- 16
- 74
- 92
1
vote
0 answers
Unable to add Custom DNS to GitLab Pages
I'm unable to add custom DNS to GitLab pages. I have done all the required changes by adding A and CNAME to my domain.
References :…

underwood
- 845
- 2
- 11
- 22
1
vote
1 answer
Gitlab pages URL config
default gitlab pages use http(s)://.company.io/ as base url.
Can we config it to http(s)://..company.io/?

xiang
- 1,384
- 1
- 12
- 28
1
vote
1 answer
GitLab Pages API 404 error for certain projects
I have been writing automation scripts to generate and update SSL certificates using Namesilo, Letsencrypt and Gitlab APIs.
I almost got to the end, but I am getting a 404 error when trying to update the SSL certificate on Gitlab.
The weird part is…

Pallav Agarwal
- 108
- 10
1
vote
1 answer
Add image to webpage which uses hugo framework
I want to post an image onto my blog (yes that simple!)
My website is hosted on GitLab Pages and uses the Hugo framework (v0.23). I forked my webpage from here, https://gitlab.com/pages/hugo (thus my blog folder structure is the same).
My content…

i_love_chocolate
- 414
- 5
- 16
1
vote
1 answer
GitLab CI ..gitlab-ci.yml property to use fors static page
I am using GitLab to host my static page!
every time I am configuring the .gitlab-ci.yml file I am getting the following error: "Could not locate Gemfile"
Here is the output of the cmd
Here id the .gitlab-ci.yml file
image:…

Vasco
- 297
- 3
- 16
1
vote
1 answer
Can GitLab pages show index.html in a different directory?
GitLab (specifically Gitlab.com), not Github.
I'm using Gulp and producing a release folder with my processed files.
release/
index.html
src/
When making this work for GitLab pages, can I have it use release/index.html? I still need the src/…

user341554
- 569
- 2
- 8
- 16
1
vote
0 answers
After updating gitlab version, jekyll build reports: Configuration file: none
After updating the gitlab version to 8.16.3, the error will be reported:
Configuration file: none
Cannot figure out why.
Thanks

Shuai Wang
- 75
- 5
1
vote
1 answer
Change deploy root on gitlab Pages
I've been creating gitlab pages with the .gitlab-ci.yml template file:
# This file is a template, and might need editing before it works on your project.
# Full project: https://gitlab.com/user/project
pages:
stage: deploy
script:
- mkdir…

sandrina-p
- 3,794
- 8
- 32
- 60
0
votes
0 answers
Prevent hotlinking on gitlab pages
We host a website via GitLab Pages (static website generation) and have recently encountered a problem.
In the licence for our fonts (or in the installation details) it is mentioned that we should take measures to prevent hotlinking (e.g. not being…
0
votes
0 answers
Gitlab pages always shows 404 error when opening artifacts
We use a self hosted gitlab ce (Omnibus-Installation on Ubuntu 22.04) for our project repository. The bundled nginx is disabled, because there are other services running that also use the webserver. nginx configuration is this one taken from gitlab…

Stephan
- 1
- 1