diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 5f74b3e..e31a8bb 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -49,8 +49,6 @@ jobs: uses: actions/configure-pages@v5 - name: Build with Jekyll run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}" - env: - JEKYLL_ENV: production - name: Minify CSS classes run: node scripts/post-build.js - name: Upload artifact diff --git a/scripts/post-build.js b/scripts/post-build.js index 1e1efe5..51724cb 100644 --- a/scripts/post-build.js +++ b/scripts/post-build.js @@ -1,4 +1,5 @@ #!/usr/bin/env node +// Post-build class minifier for Jekyll - updates both HTML classes AND inline