Use Makefile in GH Action#526
Draft
RamVasuthevan wants to merge 5 commits intomainfrom
Draft
Conversation
Add a basic build target that runs Jekyll build without rbenv dependency, making it suitable for CI/CD environments.
Add strict liquid configuration to _config.yml: - error_mode: strict - strict_variables: true - strict_filters: true Add --strict_front_matter flag to makefile build target. This ensures builds fail on undefined variables, invalid filters, and front matter parsing errors, making CI/CD more reliable.
- Rename workflow to "Jekyll Build (Strict Mode)" - Update bundle install to use modern syntax (bundle config set) - Simplify build step to use 'make build' - Remove grep-based error detection (now handled by strict mode) The workflow now relies on Jekyll's built-in strict mode to fail on errors instead of fragile string matching.
- Change website/_.bundle/ to website/.bundle/ (fix typo) - Change website/_vendor/ to website/vendor/ (correct path) The previous patterns with underscore prefixes were not matching the actual bundler-generated directories.
aee3050 to
89861d1
Compare
Add nil checks for variables that may not be defined: - all-pages.html: Check if page.sub_domains exists before iteration - reading-list.html: Check if include.articles exists before iteration - image.html: Add fallback for page.permalink (default to page.url) - unsplash_image.html: Add fallback for page.permalink (default to page.url) These fixes prevent errors when strict_variables is enabled in Jekyll.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.