File tree Expand file tree Collapse file tree 4 files changed +26
-2
lines changed Expand file tree Collapse file tree 4 files changed +26
-2
lines changed Original file line number Diff line number Diff line change 3030 # Build job
3131 build :
3232 runs-on : ubuntu-latest
33+ env :
34+ JEKYLL_ENV : production
3335 steps :
3436 - name : Checkout
3537 uses : actions/checkout@v4
4547 - name : Build with Jekyll
4648 # Outputs to the './_site' directory by default
4749 run : bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
48- env :
49- JEKYLL_ENV : production
5050 - name : Upload artifact
5151 # Automatically uploads an artifact from the './_site' directory by default
5252 uses : actions/upload-pages-artifact@v3
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ group :jekyll_plugins do
1919 gem "jekyll-paginate-v2"
2020 gem "jekyll-redirect-from"
2121 gem "jekyll-google-tag-manager"
22+ gem "jekyll-minifier"
2223end
2324
2425# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
Original file line number Diff line number Diff line change 55 public_suffix (>= 2.0.2 , < 6.0 )
66 colorator (1.1.0 )
77 concurrent-ruby (1.2.3 )
8+ cssminify2 (2.0.1 )
89 em-websocket (0.5.3 )
910 eventmachine (>= 0.12.9 )
1011 http_parser.rb (~> 0 )
1112 eventmachine (1.2.7 )
13+ execjs (2.10.0 )
1214 ffi (1.16.3 )
1315 forwardable-extended (2.6.0 )
1416 google-protobuf (3.25.2-arm64-darwin )
1517 google-protobuf (3.25.2-x86_64-darwin )
1618 google-protobuf (3.25.2-x86_64-linux )
19+ htmlcompressor (0.4.0 )
1720 http_parser.rb (0.8.0 )
1821 i18n (1.14.1 )
1922 concurrent-ruby (~> 1.0 )
3740 jekyll (>= 3.7 , < 5.0 )
3841 jekyll-google-tag-manager (1.0.3 )
3942 jekyll (>= 3.3 , < 5.0 )
43+ jekyll-minifier (0.1.10 )
44+ cssminify2 (~> 2.0 )
45+ htmlcompressor (~> 0.4 )
46+ jekyll (>= 3.5 )
47+ json-minify (~> 0.0.3 )
48+ uglifier (~> 4.1 )
4049 jekyll-paginate-v2 (3.0.0 )
4150 jekyll (>= 3.0 , < 5.0 )
4251 jekyll-redirect-from (0.16.0 )
4756 jekyll (>= 3.8 , < 5.0 )
4857 jekyll-watch (2.2.1 )
4958 listen (~> 3.0 )
59+ json (2.9.0 )
60+ json-minify (0.0.3 )
61+ json (> 0 )
5062 kramdown (2.4.0 )
5163 rexml
5264 kramdown-parser-gfm (1.1.0 )
7587 rake (>= 13.0.0 )
7688 terminal-table (3.0.2 )
7789 unicode-display_width (>= 1.1.1 , < 3 )
90+ uglifier (4.2.1 )
91+ execjs (>= 0.3.0 , < 3 )
7892 unicode-display_width (2.5.0 )
7993 webrick (1.8.1 )
8094
@@ -88,6 +102,7 @@ DEPENDENCIES
88102 jekyll (~> 4.3.2 )
89103 jekyll-feed (~> 0.12 )
90104 jekyll-google-tag-manager
105+ jekyll-minifier
91106 jekyll-paginate-v2
92107 jekyll-redirect-from
93108 minima (~> 2.5 )
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ plugins:
3838 - jekyll-feed
3939 - jekyll-paginate-v2
4040 - jekyll-redirect-from
41+ - jekyll-minifier
4142
4243include : ['_solutions']
4344
@@ -53,6 +54,13 @@ google:
5354 tag_manager :
5455 container_id : GTM-PH7L55P
5556
57+ jekyll-minifier :
58+ compress_css : false
59+ compress_javascript : true
60+ compress_html : true
61+ uglifier_args :
62+ harmony : true
63+
5664# Exclude from processing.
5765# The following items will not be processed, by default.
5866# Any item listed under the `exclude:` key here will be automatically added to
You can’t perform that action at this time.
0 commit comments