|
|
|
|
|
by arebhaibhai
2065 days ago
|
|
Having tried both, I can say GitLab pages is far superior to GitHub pages. For example: 1. GitLab lets you have pages generated from private repo(free) and have fine-grained control over who can view them. 2. The CNAME file is a mess. Every time you generate your site with Hugo etc., you need to copy-paste it and GitLab has a much nice interface to manage domains and subdomains with a lot more control and options. 3. You can have a single repo for your actual site and pages are published from the CI pipeline and let you use any method to generate HTML. On GitHub, you need to maintain two repos if you are using static site generators. It's just not clean. |
|
Also, it's possible to use HTTP (instead of HTTPS) for Gitlab pages if needed.[0]
[0] http://grafx2.gitlab.io/grafX2/