Skip to content

Only execute gitlab-pages-setup if pages enabled

What does this Merge Request do and why?

This MR fixes a bug where gitlab_pages.enabled was set to true once upon a time and gitlab_pages/ was checked out etc, but gitlab_pages.enabled is now false. The gitlab-pages-setup Make target fails to inspect gitlab_pages.enabled which can cause issues as well as being unnecessary.

Merge Request checklist

  • This change is backward compatible. If not, please include steps to communicate to our users.
  • Tests added for new functionality. If not, please raise Issue to follow-up.
  • Documentation added/updated, if needed.
  • gdk doctor test added, if needed.
  • Add the ~highlight label if this MR should be included in the CHANGELOG.md.

Merge request reports

Loading