From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Publishing and hosting Org sites with Gitlab Pages Date: Mon, 23 May 2016 18:11:03 +0200 Message-ID: <87d1ocah60.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54374) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4sSC-00070k-OA for emacs-orgmode@gnu.org; Mon, 23 May 2016 12:11:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b4sS6-0004Bb-MA for emacs-orgmode@gnu.org; Mon, 23 May 2016 12:11:39 -0400 Received: from plane.gmane.org ([80.91.229.3]:38766) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4sS6-0004B1-Eu for emacs-orgmode@gnu.org; Mon, 23 May 2016 12:11:34 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1b4sRz-0008KO-7a for emacs-orgmode@gnu.org; Mon, 23 May 2016 18:11:27 +0200 Received: from 46.166.186.236 ([46.166.186.236]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 May 2016 18:11:27 +0200 Received: from rasmus by 46.166.186.236 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 May 2016 18:11:27 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Hi, Here's an example of how to publish a static sites via ox-html.el and ox-publish.el via the Gitlab CI and Gitlab Pages: https://gitlab.com/pank/org-mode-gitlab-pages The good thing about this approach is that you don’t have to build pages manually or locally. Neither do you need to keep artifacts in your git history. I use this setup for my personal site and I’m quite happy with it. The bad thing is that this offers nothing new over a ssh-enabled host since :publishing-directory support tramp paths. The ugly thing is that Gitlab Pages is neither Free Software nor open source, as it is unfortunately not part of the Community Edition of Gitlab! Then again, neither is Github Pages... Rasmus -- And when I’m finished thinking, I have to die a lot