GitLab Pages features review apps and multiple website deployment
Sep 23, 2024Matthew Macfarlane

Summary
Introduced Parallel Deployments for GitLab Pages, allowing multiple versions of a static website to be deployed simultaneously. This is achieved by dynamically generating `path_prefix` values in `.gitlab-ci.yml` for merge request review apps (using `CI_MERGE_REQUEST_IID`) and for versioned documentation (using `CI_COMMIT_BRANCH`). The `pages.path_prefix` property is now configurable, and the `environment.url` property can be used to link review apps directly to merge requests.
More from the Static Website Hosting with GitLab Pages trail
- Build a new website in a few easy steps with GitLab Pages
- How to host VueJS apps using GitLab Pages
- Use GitLab and MITRE ATT&CK Navigator to visualize adversary techniques
- How to deploy a React application to Amazon S3 using GitLab CI/CD
- Monitor your web attack surface with GitLab CI/CD and GitLab Pages