GitLab Pages for a group on gitlab.com?

Hi there,

I created the group oer: https://gitlab.com/oer
Some projects for that group generate GitLab Pages under the domain oer.gitlab.io as expected. However the link for the group itself leads to 404.

How do I create an overview page for the group?

Thanks
Jens

1 Like

Hello Lechten,

I have the same problem here, exept that I am on a private server.

Here is my .yml :

image: node:9.11.1

pages:
  cache:
    paths:
    - node_modules/

script:
  - yarn install
  - yarn run build
  - mkdir .public
  - cp -r * .public
  - mv .public public

  artifacts:
    paths:
    - public

  only:
  - master

here is the message I have from the runner/build :

Running with gitlab-runner 11.5.1 (7f00c780)
  on GITLAB a7d70347
Using Docker executor with image node:9.11.1 ...
Pulling docker image node:9.11.1 ...
Using docker image sha256:3af8a701bb9c8b2ba4ff30670dd5f82dc79636891c46a4153f18816b5565b27e for node:9.11.1 ...
Running on runner-a7d70347-project-7-concurrent-0 via GITLAB...
Fetching changes...
Removing docs/.vuepress/dist/
Removing node_modules/
HEAD is now at dc4cd42 debeug pageCI 1 - change on config.js
From http://ge-pc6.ulb.ac.be/fablabulb/sith
   dc4cd42..5390611  master     -> origin/master
Checking out 5390611d as master...
Skipping Git submodules setup
Checking cache for default...
No URL provided, cache will be not downloaded from shared cache server. Instead a local version of     cache will be extracted. 
Successfully extracted cache
$ yarn install
yarn install v1.5.1
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.78s.
$ yarn run build
yarn run v1.5.1
$ vuepress build docs
Extracting site metadata...[21:01:01] Compiling Client
[21:01:01] Compiling Server
(node:52) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
[21:01:06] Compiled Server in 5s
[21:01:09] Compiled Client in 8s
Rendering static HTML...
Rendering page: /Rendering page: /blog/Rendering page: /blog/first-post.htmlRendering page: /404.html
Success! Generated static files in docs/.vuepress/dist.
Done in 10.19s.
$ mkdir .public
$ cp -r * .public
$ mv .public public
Creating cache default...
node_modules/: found 19290 matching files          
No URL provided, cache will be not uploaded to shared cache server. Cache will be stored only locally. 
Created cache
Uploading artifacts...
public: found 19323 matching files                 
Uploading artifacts to coordinator... ok            id=9 responseStatus=201 Created token=MRxy1Npi
Job succeeded

I have no page section apparence in the settings of my page, so I guess I did something wrong. But I am sure I have the same probleme that lechten suggeste, so I continue his post to be sure we have an answer her.

If anybody succed of setting up a group page please, give us something :pray:

Cheers to all!

1 Like

If you want pages for your group, as per the docs you need to have a project named the same as the pages link, so in your case it’d be: oer.gitlab.io

You would then populate that project to generate the pages for it.

:+1: Many thanks for your response! I’ll try that.

1 Like

And it works :smile:

1 Like