Is your website created in html or are you using a static generator to create your website and then using gitlab pages to host it?

In the .gitlab-ci.yml file, the artifacts need to be public (even if your repository is private) for hosting your website using gitlab pages.

Here are some examples of what your .gitlab-ci.yml file needs to look like for hosting your site with gitlab pages.

HTML

pages:
  stage: deploy
  script:
  - mkdir .public
  - cp -r * .public
  - mv .public public
  artifacts:
    paths:
    - public
  only:
  - master

Jekyll

image: ruby:2.3

pages:
  stage: deploy
  script:
  - gem install jekyll
  - jekyll build -d public/
  artifacts:
    paths:
    - public
  only:
  - master

Hexo

image: node:4.2.2

pages:
  cache:
    paths:
    - node_modules/

  script:
  - npm install hexo-cli -g
  - npm install
  - hexo deploy
  artifacts:
    paths:
    - public
  only:
  - master

You should check out https://gitlab.com/pages/ which has examples of static sites created using all the different static site generator and hosted using gitlab pages.

You can also find some Jekyll themes hosted on gitlab pages at https://gitlab.com/groups/jekyll-themes

Finally, the link to your gitlab project url: https://gitlab.com/gpecchio/BeCall is private.

Answer from Ishan on Stack Overflow
🌐
GitLab
docs.gitlab.com › gitlab docs › use gitlab › deploy and release your application › gitlab pages
GitLab Pages | GitLab Docs
GitLab Pages publishes static websites directly from a repository in GitLab. ... Deploy automatically with GitLab CI/CD pipelines. Support any static site generator (like Hugo, Jekyll, or Gatsby) or plain HTML, CSS, JavaScript, and Wasm.
GitLab Docs
Learn how to use and administer GitLab, the most scalable Git-based fully integrated platform for software development.
Release notes
GitLab release announcements and feature highlights.
Environments
Environments, variables, dashboards, and review apps.
Releases
Releases, versioning, assets, tags, milestones, and evidence.
🌐
Publii
getpublii.com › docs › host-static-website-gitlab-pages.html
How to create a static website using GitLab Pages (Full Guide)
August 8, 2024 - The access token will allow Publii to connect to your Gitlab Pages, so you'll have to create a new repository where your static website can be stored. On the Gitlab site, click on the plus button in the toolbar and select New project/repository:
Discussions

git - Host static website with GitLab pages - Stack Overflow
Is your website created in html or are you using a static generator to create your website and then using gitlab pages to host it? In the .gitlab-ci.yml file, the artifacts need to be public (even if your repository is private) for hosting your website using gitlab pages. Here are some examples of what your .gitlab-ci.yml file needs to look like for hosting your site ... More on stackoverflow.com
🌐 stackoverflow.com
Static Site Generation for Gitlab Pages
https://github.com/hychan48/nuxt3-generate More on reddit.com
🌐 r/Nuxt
6
6
December 8, 2022
HTML Static page password protection
It is about as secure as any basic authentication system, as opposed to any digest mechanisms. Yes, the hash is just as secret as the password is, and anyone seeing the login communications can replay those indefinitely. The defense against that is to use any mechanism that uses digested session data for authentication. But that also means it can no longer be static. But why do this static system to begin with? You aren't getting around having a password database, you are just using the filesystem as a database essentially. More on reddit.com
🌐 r/crypto
16
0
November 1, 2018
Can I proceed with Netlify as the host for my static site? Please let me know if it has any downsides.
Buy your own vps, https://www.vultr.com/pricing/ Start with $5, and if it's too little upgrade it. Use a static site generator, put sites on vps with gitlab Integrate each site with gitlab for deployment, it's what netlify does. Gitlab has private repos, free Cloudfront CDN on each domain. Profit. Will cost you penny's to run like 1000 static sites. Aws is kind of complicate to setup, I wouldn't even bother with it unless you get like 10,000,000 hits per day on a site. More on reddit.com
🌐 r/webdev
15
7
August 26, 2018
🌐
Medium
medium.com › @vinoji2005 › day-12-using-gitlab-pages-for-static-website-deployment-42e290d83ecd
🔨 Day 12: Using GitLab Pages for Static Website Deployment | by Vinoth Subbiah | Medium
October 1, 2024 - GitLab Pages is a static site hosting service that allows you to deploy HTML, CSS, and JavaScript files from a GitLab repository.
🌐
GitLab
about.gitlab.com › blog › engineering › hosting on gitlab.com with gitlab pages
Hosting on GitLab.com with GitLab Pages
April 7, 2016 - All pages are created after the build completes successfully and the artifacts for the pages job are uploaded to GitLab. Jekyll is so far the most popular Static Site Generator (SSG) available, that's why we'll use it as a first example for configuring our GitLab CI.
🌐
Programonaut
programonaut.com › home › blog › host your website for free with gitlab pages (step-by-step)
Host your website for free with GitLab Pages (step-by-step)
June 5, 2022 - In this post, you will learn what is required to host your site, and then I will show you step-by-step how to do so! ... GitLab Pages is a static site hosting service provided by GitLab.
Find elsewhere
🌐
Medium
medium.com › tech-notes-and-geek-stuff › gitlab-pages-how-to-publish-a-static-website-73333100428a
Gitlab Pages: How To Publish a Static WebSite? | by Rphlm | Tech notes and Geek stuff | Medium
November 8, 2024 - GitLab Pages offers a straightforward way to host static websites right from your GitLab repositories, perfect for project documentation, portfolios, or personal blogs, just like mine!
🌐
GitLab
docs.gitlab.com › gitlab docs › administer › update your settings › gitlab pages
GitLab Pages administration | GitLab Docs
GitLab Pages provides static site hosting for GitLab projects and groups. Server administrators must configure Pages before users can access this feature.
🌐
Startupik
startupik.com › home › tools & resources › gitlab pages explained: static website hosting for developers
GitLab Pages Explained: Static Website Hosting for Developers | Startupik | Startup magazine
July 12, 2026 - GitLab Pages hosts static websites from a GitLab repository using GitLab CI/CD pipelines. It works best for HTML, CSS, JavaScript, and prebuilt static assets, not server-rendered applications that need a backend runtime.
🌐
EDUCBA
educba.com › home › software development › software development tutorials › git tutorial › gitlab pages
GitLab Pages | What is GitLab pages? | How to Create GitLab Pages?
April 13, 2023 - Gitlab pages are used to publish our static websites from the repository directly using gitlab, we can use gitlab webpages to any personal websites. We can also use it for business websites, we can use HTML or SSG (static site generator) with ...
Address: Unit no. 202, Jay Antariksh Bldg, Makwana Road, Marol, Andheri (East),, 400059, Mumbai
🌐
Embl-community
grp-bio-it-workshops.embl-community.io › building-websites-with-gitlab › 03-gitlab-pages › index.html
Hosting Pages on GitLab – Building Websites with GitLab
August 2, 2023 - As anticipated by the previous chapters, to publish a website with GitLab Pages you can use several different technologies like Jekyll, Gatsby, Hugo, Middleman, Harp, Hexo, and Brunch, just to name a few. You can also publish any static website written directly in plain HTML, CSS, and JavaScript.
🌐
Mindful Chase
mindfulchase.com › home › deep dives › master gitlab workflows › gitlab pages: deploying static websites and documentation
GitLab Pages: Deploying Static Websites and Documentation - Mindful Chase
December 1, 2024 - GitLab Pages is a built-in service that lets you publish static websites from your GitLab repository. It supports any static site generator, such as Jekyll, Hugo, or Gatsby, as well as plain HTML, CSS, and JavaScript files.
🌐
300feetout
300feetout.com › blog › hosting-static-site-gitlab-pages
hosting a static HTML site on gitlab pages
Gitlab Pages can host everything from plain old HTML to your favorite SSG (Static Site Generator). We’ve used it to host static HTML, Gatsby, and NextJS sites.
🌐
GitLab
gitlab.com › gitlab pages examples
GitLab Pages examples · GitLab
Example websites hosted by GitLab Pages. Learn how to contribute a new Pages site.
🌐
Nira
nira.com › home › the ultimate manual to gitlab pages
The Ultimate Manual To GitLab Pages - Nira
May 3, 2022 - To be able to publish a website with GitLab Pages, you’ll need a Static Site Generator (e.g., Jekyll, Middleman, Gatsby, Hugo, Brunch, or Harp).
🌐
PRACE
repository.prace-ri.eu › help
Index · Pages · Project · User · Help · GitLab
With GitLab Pages, you can publish static websites directly from a repository in GitLab. Use for any personal or business website. Use any Static Site Generator (SSG) or plain HTML.
🌐
Osamathe
blog.osamathe.dev › blog › deploy-gitlab-pages
Deploy a Static Website with GitLab Pages - Osama's Tech Blog
January 28, 2023 - All media assets (images, videos, etc…) will remain as is after the build. The key ingredient we need is that dist folder, and it was generated after running npm run build. Now to deploy it on GitLab Pages as a static website, we need to generate that dist folder in a deployment pipeline.