From c9d6576e5e9c5d8ab5b4b62be8a9104e86106ef0 Mon Sep 17 00:00:00 2001 From: vonavi Date: Tue, 21 Jan 2014 12:30:51 +0200 Subject: [PATCH] Build the site with '_config.yml', add the 'build' action hook for OpenShift. --- .openshift/action_hooks/build | 8 ++++++++ _config.yml | 11 +++++++++++ 2 files changed, 19 insertions(+) create mode 100755 .openshift/action_hooks/build create mode 100644 _config.yml diff --git a/.openshift/action_hooks/build b/.openshift/action_hooks/build new file mode 100755 index 0000000..4ae2ea1 --- /dev/null +++ b/.openshift/action_hooks/build @@ -0,0 +1,8 @@ +#!/bin/bash +# This is a simple build script and will be executed on your CI system if +# available. Otherwise it will execute while your application is stopped +# before the deploy step. This script gets executed directly, so it +# could be python, php, ruby, etc. + +cd $OPENSHIFT_REPO_DIR +bundle exec jekyll build diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..02940b5 --- /dev/null +++ b/_config.yml @@ -0,0 +1,11 @@ +url: http://lorchess.ru +title: LOR Chess +permalink: pretty + +source: ./ +destination: ./public +exclude: ['Gemfile*', 'README', 'vendor'] +keep_files: ['.gitkeep'] + +encoding: UTF-8 +markdown: redcarpet