Let pages job be allowed to not have any script

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

Sometimes, all I need to do with the pages job is to say that I have a certain artifact to be served via web. Like, I need to publish coverage report or docs, which are generated in a previous stage.

So in such cases, All I need is something like this:

pages:
  stage: deploy
  artifacts:
    paths:
      - public
  only:
    - master

It would be nice if GitLab (at least, gitlab.com) had a way to create such a pages job without any script, so that it will be run in less than a second (as it won't require to pull/run any docker image).

Or better, I would like to set some different path like path: /some/path/ or so, so that /some/path will be copied to public and thus deleting the artifact of previous jobs won't result in breaking of the pages served.

Thanks

Edited Aug 25, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading