From 57727d83b3d41a77fec366e48be14e38b6447ff7 Mon Sep 17 00:00:00 2001 From: tnagorra Date: Mon, 18 May 2026 08:56:46 +0545 Subject: [PATCH] fix: fix jekyll build in prod --- _config.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/_config.yml b/_config.yml index 91679a5..a8e6b23 100644 --- a/_config.yml +++ b/_config.yml @@ -101,6 +101,10 @@ defaults: toc: true # Build exclusions (Jekyll core) +# Note: setting `exclude` overrides Jekyll's defaults, so the vendor/cache +# entries below must be re-listed explicitly — otherwise CI's `bundle install +# --path vendor/bundle` leaks gem files (e.g. jekyll's own site_template +# _posts) into the build and breaks it. exclude: - Gemfile - Gemfile.lock @@ -109,3 +113,10 @@ exclude: - .pre-commit-config.yaml - typos.toml - .lycheeignore + - vendor/bundle/ + - vendor/cache/ + - vendor/gems/ + - vendor/ruby/ + - .sass-cache/ + - .jekyll-cache/ + - node_modules/