News for hackers. Stuff that matters.
Re:GitLab Pages by scott_hardy on Tuesday April 05, 2016 @11:26AM (#11431091)
I especially like that they have added configuration options to the .gitlab-ci.yml. If I am not mistaken, this means your project can auto-deploy using an arbitrary build process. Here's what an example .gitlab-ci.yml looks like with a GitLab Pages build configuration: https://gitlab.com/pages/pages.gitlab.io/blob/master/.gitlab...

A couple friends and I made something similar for GitHub Pages using Travis CI as our static deployment build-and-deploy host. For example, here's what our .travis.yml looks like: https://github.com/L33T-KR3W/soundcasts-web/blob/master/.tra... and here is the actual deploy command that is being run to `git push` to GitHub Pages: https://github.com/L33T-KR3W/soundcasts-web/blob/master/pack...

The GitLab approach is cleaner and requires less tooling. Nice work!

Re:GitLab Pages by jobvandervoort on Tuesday April 05, 2016 @11:55AM (#11431421)
Thanks!

You can indeed have a fully automated deployment. You could already do this with GitLab CI on an external server (S3 or anything else), but now you don't have to worry about hosting anymore.

We took inspiration from .travis.yml when designing the .gitlab-ci.yml file, but are continuing to add features and configurations that make it possible to work together with other GitLab features such as build artifacts and now Pages.

Re:GitLab Pages by djsumdog on Tuesday April 05, 2016 @12:40PM (#11431910)
One of the big limitations of Jekyll + Github pages is you cannot use plugins..any plugins at all. If Gitlab's build process allowed for Jekyll plugins and custom domains, I may consider moving my pages there as well.
Re:GitLab Pages by langolier on Tuesday April 05, 2016 @01:00PM (#11432129)
You can totally use Jekyll plugins since you can define any command in .gitlab-ci.yml. It's like running Jekyll locally.

And custom domain are supported as well. See the bottom of https://pages.gitlab.io

Re:GitLab Pages by jobvandervoort on Tuesday April 05, 2016 @01:07PM (#11432190)
In fact, you don't even need to use Jekyll. You can use literally anything you want.
Re:GitLab Pages by jgowans on Tuesday April 05, 2016 @02:42PM (#11433167)
ICYI, you can run Jekyll + plugins on Bitbucket / Aerobatic:

https://www.aerobatic.com/blog/automated-continuous-deployme...

You can also provision a free wildcard SSL cert.

Disclaimer: co-founder of Aerobatic.

Re:GitLab Pages by kpcyrd on Tuesday April 05, 2016 @01:26PM (#11432390)
jekyll plugins are disabled for a good reason, otherwise you could basically execute anything you want on their server.
Re:GitLab Pages by everfree on Tuesday April 05, 2016 @02:40PM (#11433138)
With the GitLab runner, you actually can execute anything you want on their server. It's sandboxed like any other CI service.