fix: variable names
Blog Test / Check-Rebuild (push) Successful in 6s
Blog Test / Build (push) Successful in 6s
Blog Test / Deploy-Test (push) Successful in 34s
Blog Test / Test (push) Successful in 1s

This commit is contained in:
2026-09-16 08:48:40 +00:00
parent 2da3d1823e
commit 896eeab004
+3 -3
View File
@@ -6,7 +6,7 @@ REPO_URL="${REPO_URL:-https://git.vezpi.com/Vezpi/blog.git}"
URL="${URL:-blog.vezpi.com}" URL="${URL:-blog.vezpi.com}"
BRANCH="${BRANCH:-preview}" BRANCH="${BRANCH:-preview}"
BLOG_DIR="${BLOG_DIR:-/blog}" BLOG_DIR="${BLOG_DIR:-/blog}"
HUGO_RESOURCE_DIR="${HUGO_RESOURCE_DIR:-/hugo-resources}" HUGO_RESOURCES_DIR="${HUGO_RESOURCES_DIR:-/hugo-resources}"
DRAFTS="" DRAFTS=""
# Add drafts for preview # Add drafts for preview
@@ -23,8 +23,8 @@ echo "- Cloning $REPO_URL (branch: $BRANCH)..."
git clone --recurse-submodules --branch "$BRANCH" "$REPO_URL" "$BLOG_DIR" git clone --recurse-submodules --branch "$BRANCH" "$REPO_URL" "$BLOG_DIR"
# Restore persistent Hugo resources cache # Restore persistent Hugo resources cache
rm -rf "$CLONE_DIR/resources" rm -rf "$BLOG_DIR/resources"
ln -s "$HUGO_RESOURCE_DIR" "$CLONE_DIR/resources" ln -s "$HUGO_RESOURCES_DIR" "$BLOG_DIR/resources"
# 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..."