Questions tagged [gitlab-pages]
127 questions
1
vote
1 answer
HOSTED VS LOCAL: gitlab-ci.yml copies 'static' directory to 'public'. How to tell local command "bundle exec jekyll serve" to do that as well
I've got no website building experience. I've followed the instructions on gitlab to fork an example jekyll site (including removing the fork relationship and renaming the url to groupname). On gitlab, the .gitlab-ci.yml file contains:
pages:
stage:…

oksage
- 33
- 5
1
vote
1 answer
Deploying GitLab pages for different branches using Hugo framework?
I'm using the Hugo framework to deploy GitLab pages. As described in another post, it seems to be possible to publish pages for multiple branches.
I tried to integrate the code provided in the post, but it doesn't work.
My original gitlab-ci.yml…

CodeMaster3000
- 51
- 3
1
vote
2 answers
How to fix Jekyll "Could not find a JavaScript runtime" error
I am currently trying to get Jekyll uploaded onto Gitlab pages, but, for some reason I keep running into the same error message in the pipeline:
$ bundle exec jekyll build -d public
Configuration file: /builds/mmellows1/mighty/_config.yml
jekyll…
1
vote
1 answer
GitLab don't serve 404.html error page from root repo
I have created username.gitlab.io repo with index.html and 404.html pages, which have to be deployed automatically.
After deploy if I open in browser address username.gitlab.io it shows well index.html page and if I open username.gitlab.io/404.html…
user8280225
1
vote
1 answer
Nuxt site on GitLab Pages blocked due to MIME type
I've seen other similar issues here, but as I am using GitLab pages for the first time, I wasn't able to find any setting to make changes there.
The problem I am having is the errors on Firefox:
The resource from…

Saro
- 529
- 1
- 7
- 19
1
vote
1 answer
Setup http response header for cache control on gitlab pages
I have uploaded a pwa on gitlab pages. I want to know to setup http response headers on gitlab pages to setup cache control. I've done my best searching for this info on the internet in general and on this site as well. I only found an entry from…

Sharad Acharya
- 41
- 6
1
vote
1 answer
Redirect project url to custom domain
I publish my project to GitLab Pages and add my custom domain. Now I want to redirect the default GitLab url username.gitlab.io/project to my domain name mydomain.com. I add two records in DNS as below:
www.mydomain.com CNAME …

juby
- 132
- 1
- 5
1
vote
1 answer
Website hosted on gitlab pages asks to sign in
My website here asking username and password. No error in console. Website built in jekyll. This starts now a days. Before I was able to deploy the same script. Is this related with any gitlab pages permission issue?

Hfyuu
- 199
- 1
- 3
- 11
1
vote
2 answers
How to get pelican site generate on GitLab Pages when continuous integration passes and artifacts are being built?
I used pelican as the static site generator to build a static site. I wanted to host it on GitLab Pages and let the site generate with GitLab's continuous integration with Makefile.
The site successfully builds locally as well as on GitLab via its…

Tanya Jain
- 361
- 1
- 9
1
vote
1 answer
GitLab pages - how to use any repo name?
Question
I have a GitLab repo XXX/website-www which contains code to generate a static website.
I am using GitLab CI for continuous integration/deployment.
For now, I have decided to use GitLab pages to host my static website. This could easily…

David Callanan
- 5,601
- 7
- 63
- 105
1
vote
0 answers
Setup gitlab pages with own Gitlab instance
I just install my own gitlab instance. Bought domain name on GoDaddy and apply A to my ip. Everything works fine. Now how can i setup gitlab pages?
I did everything like official docs, but
Wildcard DNS: A * ip 1hourTTL
pages_external_url…

BrokenCoin
- 97
- 13
1
vote
1 answer
GitLab Page 404's when attempting to access a specific path
I setup a GitLab Page that uses a custom domain and it serves up an Angular application. If I go to mywebsite.com it works and I can navigate around the app no problem.
If I attempt to access the page via mywebsite.com/about (a valid path), for…

Nxt3
- 1,970
- 4
- 30
- 52
1
vote
1 answer
Gitlab pages - Incremental deploy
In gitlab pages, public directory content seems to be cleaned at each deployment. In some cases, I would keep existing files and add another ones.
Do you know if it is possible to incremental deploy pages with gitlab ci?

B3n
- 536
- 1
- 3
- 16
1
vote
0 answers
Issue redirecting www to naked domain (Gitlab pages, Hugo static website, namecheap, let's encrypt)
I have currently my Hugo static website hosted on gitlab pages with Let's encrypt for the SSL certificate. Both naked and www domain are enabled in gitlab pages as well as in the DNS (namecheap). I would like to redirect www to the naked domain.
I…

Arnaud Malfoy
- 9
- 3
1
vote
1 answer
Issues with using proper directory when running python script in gitlab-ci
I have a python script that I am trying to run as part of gitlab pages deployment of a jekyll site. My site has blog posts that have various tags, and the python script generates the .md files for the tag pages. The script works perfectly fine when…

leucotic
- 61
- 6