add: workaround for LanguageDirection
Some checks failed
Blog Deployment / Check-Rebuild (push) Successful in 11s
Blog Deployment / Build (push) Successful in 22s
Blog Deployment / Deploy-Staging (push) Successful in 33s
Blog Deployment / Test-Staging (push) Failing after 20s
Blog Deployment / Merge (push) Has been skipped
Blog Deployment / Deploy-Production (push) Has been skipped
Blog Deployment / Test-Production (push) Has been skipped
Blog Deployment / Clean (push) Has been skipped
Blog Deployment / Notify (push) Successful in 11s
Some checks failed
Blog Deployment / Check-Rebuild (push) Successful in 11s
Blog Deployment / Build (push) Successful in 22s
Blog Deployment / Deploy-Staging (push) Successful in 33s
Blog Deployment / Test-Staging (push) Failing after 20s
Blog Deployment / Merge (push) Has been skipped
Blog Deployment / Deploy-Production (push) Has been skipped
Blog Deployment / Test-Production (push) Has been skipped
Blog Deployment / Clean (push) Has been skipped
Blog Deployment / Notify (push) Successful in 11s
This commit is contained in:
@@ -21,8 +21,9 @@ rm -rf "$CLONE_DIR"
|
|||||||
echo "- Cloning $REPO_URL (branch: $BRANCH)..."
|
echo "- Cloning $REPO_URL (branch: $BRANCH)..."
|
||||||
git clone --recurse-submodules --branch "$BRANCH" "$REPO_URL" "$CLONE_DIR"
|
git clone --recurse-submodules --branch "$BRANCH" "$REPO_URL" "$CLONE_DIR"
|
||||||
|
|
||||||
# Patch .Site.Data references not yet fixed in Stack theme
|
# Patch references not yet fixed in Stack theme
|
||||||
sed -i 's/\.Site\.Data/hugo.Data/g' "$CLONE_DIR/themes/stack/layouts/_partials/article/components/photoswipe.html"
|
sed -i 's/\.Site\.Data/hugo.Data/g' "$CLONE_DIR/themes/stack/layouts/_partials/article/components/photoswipe.html"
|
||||||
|
sed -i 's/LanguageDirection/Direction/g' "$CLONE_DIR/themes/stack/layouts/baseof.html"
|
||||||
|
|
||||||
# Generate static files with hugo
|
# Generate static files with hugo
|
||||||
echo "- Building site with Hugo v$HUGO_VERSION in $HUGO_DEST..."
|
echo "- Building site with Hugo v$HUGO_VERSION in $HUGO_DEST..."
|
||||||
|
|||||||
Reference in New Issue
Block a user