In Pages build use use_open_file instead of use_file
What does this MR do and why?
In Pages build use use_open_file
instead of use_file
.
Related: #345737 (closed)
Changelog: fixed
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
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.
Option 1:
Run rspec spec/services/projects/update_pages_service_spec.rb
Option 2:
- Create a GitLab Pages website from a project template. You may choose Pages/Plain HTML template.
- Verify that pipeline passes.
- Go to Deploy > Pages to find the link to your Pages website.
Edited by Naman Jagdish Gala