79074905

Date: 2024-10-10 14:33:03
Score: 1.5
Natty:
Report link

Now in 2024 we can publish GitLab-pages in another folder than public.

To do so, in your .gitlab-ci.yml add : publish: dist

A short but working example :

pages:
  script:
    - ls
  artifacts:
    paths:
      - dist
  publish: dist

For more, I found the publish syntax there.

And if you prefer, there are some workaround explained in the official documentation.

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: 1000i100