Build the site with '_config.yml', add the 'build' action hook for OpenShift.
This commit is contained in:
parent
e1738e551f
commit
c9d6576e5e
8
.openshift/action_hooks/build
Executable file
8
.openshift/action_hooks/build
Executable 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
11
_config.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user