Skip to content

fix: replace jekyll-build-pages with ruby/setup-ruby in deploy workflow#5

Merged
Pyth3rEx merged 2 commits intomainfrom
fix/sass-compat-github-pages
Mar 24, 2026
Merged

fix: replace jekyll-build-pages with ruby/setup-ruby in deploy workflow#5
Pyth3rEx merged 2 commits intomainfrom
fix/sass-compat-github-pages

Conversation

@Pyth3rEx
Copy link
Copy Markdown
Owner

@Pyth3rEx Pyth3rEx commented Mar 24, 2026

Summary

  • actions/jekyll-build-pages@v1 bundles sass-3.7.4 which rejects modern CSS color-function notation (rgb(r g b / a%)) and media-feature range syntax (width >= N) that stylelint enforces
  • Replaces the build step with ruby/setup-ruby + bundle exec jekyll build, matching what the CI workflow already uses

Test plan

  • CI lint (stylelint, markdownlint, yamllint) passes
  • Jekyll build + htmlproofer passes
  • Deploy workflow builds and deploys successfully to GitHub Pages

- rgb(r g b / a%) → rgba(r, g, b, a) on .find-match
- @media (width >= N) → @media (min-width: N) on .post-toc
actions/jekyll-build-pages@v1 bundles sass-3.7.4 which rejects modern
CSS color-function and media-feature-range syntax required by stylelint.
Switch to ruby/setup-ruby with the project Gemfile (Jekyll 4.3) which
ships sass-embedded and handles both correctly.
@Pyth3rEx Pyth3rEx self-assigned this Mar 24, 2026
@Pyth3rEx Pyth3rEx added the enhancement New feature or request label Mar 24, 2026
@Pyth3rEx Pyth3rEx merged commit 602f2ea into main Mar 24, 2026
8 checks passed
@Pyth3rEx Pyth3rEx deleted the fix/sass-compat-github-pages branch March 24, 2026 20:29
Pyth3rEx added a commit that referenced this pull request Mar 26, 2026
fix: replace jekyll-build-pages with ruby/setup-ruby in deploy workflow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant