Static Website Hosting with GitLab Pages
GitLab Pages features review apps and multiple website deployment

GitLab Pages features review apps and multiple website deployment

9/23/2024 · Matthew Macfarlane

What this post added

Introduced the `pages.path_prefix` property to `.gitlab-ci.yml` for GitLab Pages, enabling the creation of parallel deployments. This allows for distinct URLs for review apps based on `CI_MERGE_REQUEST_IID` and for versioned documentation deployments using `CI_COMMIT_BRANCH`. The post provides detailed CI/CD configuration examples for both scenarios.

Read the original post ↗