1
Fork 0

Build the site with '_config.yml', add the 'build' action hook for OpenShift.

master
vonavi 2014-01-21 12:30:51 +02:00
parent e1738e551f
commit c9d6576e5e
2 changed files with 19 additions and 0 deletions

8
.openshift/action_hooks/build Executable file
View File

@ -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

11
_config.yml Normal file
View File

@ -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