bash/deploy.sh in jgd-1.10 vs bash/deploy.sh in jgd-1.11

- old
+ new

@@ -6,10 +6,11 @@ URL=$1 BRANCH=$2 BRANCH_FROM=$3 DEPLOY_CONFIG=$4 BUNDLE=$5 +DRAFTS=$6 SRC=$(pwd) TEMP=$(mktemp -d -t jgd-XXX) trap "rm -rf ${TEMP}" EXIT CLONE=${TEMP}/clone COPY=${TEMP}/copy @@ -22,12 +23,12 @@ echo -e "\nBuilding Jekyll site:" rm -rf _site if [ -r ${DEPLOY_CONFIG} ]; then - ${BUNDLE} jekyll build --config _config.yml,${DEPLOY_CONFIG} + ${BUNDLE} jekyll build --config _config.yml,${DEPLOY_CONFIG} ${DRAFTS} else - ${BUNDLE} jekyll build + ${BUNDLE} jekyll build ${DRAFTS} fi if [ ! -e _site ]; then echo -e "\nJekyll didn't generate anything in _site!" exit -1