We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f91e6b1 commit 670f794Copy full SHA for 670f794
bash/deploy.sh
@@ -6,6 +6,7 @@ set -o pipefail
6
URL=$1
7
BRANCH=$2
8
BRANCH_FROM=$3
9
+DEPLOY_CONFIG=$4
10
SRC=$(pwd)
11
TEMP=$(mktemp -d -t jgd-XXX)
12
trap "rm -rf ${TEMP}" EXIT
@@ -21,8 +22,8 @@ cd "${CLONE}"
21
22
echo -e "\nBuilding Jekyll site:"
23
rm -rf _site
24
-if [ -r _config-deploy.yml ]; then
25
- jekyll build --config _config.yml,_config-deploy.yml
+if [ -r ${DEPLOY_CONFIG} ]; then
26
+ jekyll build --config _config.yml,${DEPLOY_CONFIG}
27
else
28
jekyll build
29
fi
0 commit comments