Skip to content

Commit 27d7bca

Browse files
author
Daniel Winkler
committed
fixed to gh-pages branch and _book as pagedir
1 parent 1ac089c commit 27d7bca

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

entrypoint.sh

+2-10
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,8 @@ fi
99
REPONAME="$(echo $GITHUB_REPOSITORY| cut -d'/' -f 2)"
1010
OWNER="$(echo $GITHUB_REPOSITORY| cut -d'/' -f 1)"
1111
GHIO="${OWNER}.github.io"
12-
# target branch
13-
if [[ "$REPONAME" == "$GHIO" ]]; then
14-
TARGET_BRANCH="master"
15-
else
16-
TARGET_BRANCH="gh-pages"
17-
fi
18-
# build dir
19-
if [ -z "$BUILD_DIR" ]; then
20-
BUILD_DIR="_site"
21-
fi
12+
TARGET_BRANCH="gh-pages"
13+
BUILD_DIR="_book"
2214

2315
echo "### Started deploy to $GITHUB_REPOSITORY/$TARGET_BRANCH"
2416

0 commit comments

Comments
 (0)