Skip to content
Snippets Groups Projects

Enable multiple pages jobs

Closed Kassio Borges requested to merge kassio/enable-multiple-pages-jobs into master
  1. Oct 12, 2023
  2. Oct 11, 2023
    • Kassio Borges's avatar
      Enable multiple pages jobs · 3876a101
      Kassio Borges authored
      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.
      
      ```yaml
      jobname:
        pages:
          enabled: true
          path_prefix: 'prefix' # when using multiple versions
      ```
      
      [GitLab Pages Multiple Versions]: &10914
      
      Related to: #427755
      
      Changelog: changed
      3876a101
Loading