Skip to content

Commit 0bc0ffb

Browse files
committed
Added some logging in build_locally
1 parent a178f79 commit 0bc0ffb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/build_locally.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@ PROJECT_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
99

1010
cd "$PROJECT_ROOT"
1111

12+
echo "Building Docker image for Jekyll site..."
1213
docker build -f scripts/Dockerfile -t $IMAGE_NAME --build-arg GEMFILE_DIR=scripts .
14+
echo "✅ Docker image $IMAGE_NAME built successfully."
1315

16+
echo "Building Jekyll site..."
1417
docker run --rm -v "$PROJECT_ROOT":/srv/jekyll -v "$PROJECT_ROOT/_site":/srv/jekyll/_site $IMAGE_NAME jekyll build
1518

1619
echo "✅ Jekyll site built in ./_site"

0 commit comments

Comments
 (0)