This commit is contained in:
1 parent
51a5046f3c
commit
687595b4c9
1 file changed
+1
-1
@@ -7,7 +7,7 @@ BRANCH="${BRANCH:-preview}"
|
|||||||
CLONE_DIR="${CLONE_DIR:-/blog}"
|
CLONE_DIR="${CLONE_DIR:-/blog}"
|
||||||
|
|
||||||
echo "Cloning $REPO_URL (branch: $BRANCH)..."
|
echo "Cloning $REPO_URL (branch: $BRANCH)..."
|
||||||
git clone --depth 1 --branch "$BRANCH" "$REPO_URL" "$CLONE_DIR"
|
git clone --depth 1 --recurse-submodules --branch "$BRANCH" "$REPO_URL" "$CLONE_DIR"
|
||||||
|
|
||||||
echo "Building site with Hugo $HUGO_VERSION..."
|
echo "Building site with Hugo $HUGO_VERSION..."
|
||||||
hugo --source "$CLONE_DIR" --destination "$HUGO_DEST" --cleanDestinationDir
|
hugo --source "$CLONE_DIR" --destination "$HUGO_DEST" --cleanDestinationDir
|
||||||
|
|||||||
Reference in new issue
Block a user