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 30
30
# Build job
31
31
build :
32
32
runs-on : ubuntu-latest
33
+ env :
34
+ JEKYLL_ENV : production
33
35
steps :
34
36
- name : Checkout
35
37
uses : actions/checkout@v4
45
47
- name : Build with Jekyll
46
48
# Outputs to the './_site' directory by default
47
49
run : bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
48
- env :
49
- JEKYLL_ENV : production
50
50
- name : Upload artifact
51
51
# Automatically uploads an artifact from the './_site' directory by default
52
52
uses : actions/upload-pages-artifact@v3
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ group :jekyll_plugins do
19
19
gem "jekyll-paginate-v2"
20
20
gem "jekyll-redirect-from"
21
21
gem "jekyll-google-tag-manager"
22
+ gem "jekyll-minifier"
22
23
end
23
24
24
25
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
Original file line number Diff line number Diff line change 5
5
public_suffix (>= 2.0.2 , < 6.0 )
6
6
colorator (1.1.0 )
7
7
concurrent-ruby (1.2.3 )
8
+ cssminify2 (2.0.1 )
8
9
em-websocket (0.5.3 )
9
10
eventmachine (>= 0.12.9 )
10
11
http_parser.rb (~> 0 )
11
12
eventmachine (1.2.7 )
13
+ execjs (2.10.0 )
12
14
ffi (1.16.3 )
13
15
forwardable-extended (2.6.0 )
14
16
google-protobuf (3.25.2-arm64-darwin )
15
17
google-protobuf (3.25.2-x86_64-darwin )
16
18
google-protobuf (3.25.2-x86_64-linux )
19
+ htmlcompressor (0.4.0 )
17
20
http_parser.rb (0.8.0 )
18
21
i18n (1.14.1 )
19
22
concurrent-ruby (~> 1.0 )
37
40
jekyll (>= 3.7 , < 5.0 )
38
41
jekyll-google-tag-manager (1.0.3 )
39
42
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 )
40
49
jekyll-paginate-v2 (3.0.0 )
41
50
jekyll (>= 3.0 , < 5.0 )
42
51
jekyll-redirect-from (0.16.0 )
47
56
jekyll (>= 3.8 , < 5.0 )
48
57
jekyll-watch (2.2.1 )
49
58
listen (~> 3.0 )
59
+ json (2.9.0 )
60
+ json-minify (0.0.3 )
61
+ json (> 0 )
50
62
kramdown (2.4.0 )
51
63
rexml
52
64
kramdown-parser-gfm (1.1.0 )
75
87
rake (>= 13.0.0 )
76
88
terminal-table (3.0.2 )
77
89
unicode-display_width (>= 1.1.1 , < 3 )
90
+ uglifier (4.2.1 )
91
+ execjs (>= 0.3.0 , < 3 )
78
92
unicode-display_width (2.5.0 )
79
93
webrick (1.8.1 )
80
94
@@ -88,6 +102,7 @@ DEPENDENCIES
88
102
jekyll (~> 4.3.2 )
89
103
jekyll-feed (~> 0.12 )
90
104
jekyll-google-tag-manager
105
+ jekyll-minifier
91
106
jekyll-paginate-v2
92
107
jekyll-redirect-from
93
108
minima (~> 2.5 )
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ plugins:
38
38
- jekyll-feed
39
39
- jekyll-paginate-v2
40
40
- jekyll-redirect-from
41
+ - jekyll-minifier
41
42
42
43
include : ['_solutions']
43
44
@@ -53,6 +54,13 @@ google:
53
54
tag_manager :
54
55
container_id : GTM-PH7L55P
55
56
57
+ jekyll-minifier :
58
+ compress_css : false
59
+ compress_javascript : true
60
+ compress_html : true
61
+ uglifier_args :
62
+ harmony : true
63
+
56
64
# Exclude from processing.
57
65
# The following items will not be processed, by default.
58
66
# 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