Enable multiple pages jobs
What does this MR do and why?
As part of the introduction of the GitLab Pages Multiple Versions support we need to permit users to create multiple pages jobs.
Users now can create jobs either named pages
or use the pages:
job
option to start a new Pages job. This new option is a hash that accepts
enabled
(boolean) and path_prefix:
(string).
This also replaces the pages_path_prefix
option.
jobname:
pages:
enabled: true
path_prefix: 'prefix' # when using multiple versions
Related to: #427755 (closed)
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Kassio Borges