Gitlab: use public Pages while keeping the Git repo private


Here is how to use Gitlab Pages while keeping the content of your Git repository private.



1. From your project page, open SettingsGeneral

2. Click on VisibilityExpand

3. Set Project visibility to Private

4. On the same page, set Pages visibility to Everyone

Done!


Tags:

Related articles:


Comments: