Skip to content

Commit 2cd235b

Browse files
authored
Migration to Jekyll 4 and GitHub Action (#17)
GitHub recommends using a GitHub Action to deploy Pages now. It was also needed to upgrade to Jekyll 4 since the old github-pages gem supports only Jekyll up to 3.9.x.
1 parent ea715dd commit 2cd235b

6 files changed

Lines changed: 83 additions & 267 deletions

File tree

Gemfile

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,24 @@
1-
source 'https://rubygems.org'
2-
ruby RUBY_VERSION
3-
gem 'github-pages', group: :jekyll_plugins
1+
source "https://rubygems.org"
42

3+
gem "jekyll", "~> 4.4.1"
4+
5+
# If you have any plugins, put them here!
56
group :jekyll_plugins do
6-
gem 'jekyll-sitemap'
7+
gem "jekyll-feed", "~> 0.12"
8+
gem 'jekyll-sitemap', '~> 1.4'
9+
gem 'jekyll-include-cache', '~> 0.2.1'
10+
end
11+
12+
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data
13+
# gem and associated library.
14+
platforms :mingw, :x64_mingw, :mswin, :jruby do
15+
gem "tzinfo", ">= 1", "< 3"
16+
gem "tzinfo-data"
717
end
818

9-
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
10-
gem 'json', '2.3.0'
11-
gem 'webrick'
19+
# Performance-booster for watching directories on Windows
20+
gem "wdm", "~> 0.1", :platforms => [:mingw, :x64_mingw, :mswin]
21+
22+
# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of
23+
# the gem do not have a Java counterpart.
24+
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]

Gemfile.lock

Lines changed: 37 additions & 235 deletions
Original file line numberDiff line numberDiff line change
@@ -1,288 +1,90 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
activesupport (8.0.2)
5-
base64
6-
benchmark (>= 0.3)
7-
bigdecimal
8-
concurrent-ruby (~> 1.0, >= 1.3.1)
9-
connection_pool (>= 2.2.5)
10-
drb
11-
i18n (>= 1.6, < 2)
12-
logger (>= 1.4.2)
13-
minitest (>= 5.1)
14-
securerandom (>= 0.3)
15-
tzinfo (~> 2.0, >= 2.0.5)
16-
uri (>= 0.13.1)
174
addressable (2.8.7)
185
public_suffix (>= 2.0.2, < 7.0)
196
base64 (0.2.0)
20-
benchmark (0.4.1)
21-
bigdecimal (3.2.2)
22-
coffee-script (2.4.1)
23-
coffee-script-source
24-
execjs
25-
coffee-script-source (1.12.2)
7+
bigdecimal (3.1.9)
268
colorator (1.1.0)
27-
commonmarker (0.23.11)
289
concurrent-ruby (1.3.5)
29-
connection_pool (2.5.3)
30-
csv (3.3.5)
31-
dnsruby (1.72.4)
32-
base64 (~> 0.2.0)
33-
logger (~> 1.6.5)
34-
simpleidn (~> 0.2.1)
35-
drb (2.2.3)
10+
csv (3.3.4)
3611
em-websocket (0.5.3)
3712
eventmachine (>= 0.12.9)
3813
http_parser.rb (~> 0)
39-
ethon (0.16.0)
40-
ffi (>= 1.15.0)
4114
eventmachine (1.2.7)
42-
execjs (2.10.0)
43-
faraday (2.13.1)
44-
faraday-net_http (>= 2.0, < 3.5)
45-
json
46-
logger
47-
faraday-net_http (3.4.1)
48-
net-http (>= 0.5.0)
4915
ffi (1.17.2-x86_64-linux-gnu)
5016
forwardable-extended (2.6.0)
51-
gemoji (4.1.0)
52-
github-pages (232)
53-
github-pages-health-check (= 1.18.2)
54-
jekyll (= 3.10.0)
55-
jekyll-avatar (= 0.8.0)
56-
jekyll-coffeescript (= 1.2.2)
57-
jekyll-commonmark-ghpages (= 0.5.1)
58-
jekyll-default-layout (= 0.1.5)
59-
jekyll-feed (= 0.17.0)
60-
jekyll-gist (= 1.5.0)
61-
jekyll-github-metadata (= 2.16.1)
62-
jekyll-include-cache (= 0.2.1)
63-
jekyll-mentions (= 1.6.0)
64-
jekyll-optional-front-matter (= 0.3.2)
65-
jekyll-paginate (= 1.1.0)
66-
jekyll-readme-index (= 0.3.0)
67-
jekyll-redirect-from (= 0.16.0)
68-
jekyll-relative-links (= 0.6.1)
69-
jekyll-remote-theme (= 0.4.3)
70-
jekyll-sass-converter (= 1.5.2)
71-
jekyll-seo-tag (= 2.8.0)
72-
jekyll-sitemap (= 1.4.0)
73-
jekyll-swiss (= 1.0.0)
74-
jekyll-theme-architect (= 0.2.0)
75-
jekyll-theme-cayman (= 0.2.0)
76-
jekyll-theme-dinky (= 0.2.0)
77-
jekyll-theme-hacker (= 0.2.0)
78-
jekyll-theme-leap-day (= 0.2.0)
79-
jekyll-theme-merlot (= 0.2.0)
80-
jekyll-theme-midnight (= 0.2.0)
81-
jekyll-theme-minimal (= 0.2.0)
82-
jekyll-theme-modernist (= 0.2.0)
83-
jekyll-theme-primer (= 0.6.0)
84-
jekyll-theme-slate (= 0.2.0)
85-
jekyll-theme-tactile (= 0.2.0)
86-
jekyll-theme-time-machine (= 0.2.0)
87-
jekyll-titles-from-headings (= 0.5.3)
88-
jemoji (= 0.13.0)
89-
kramdown (= 2.4.0)
90-
kramdown-parser-gfm (= 1.1.0)
91-
liquid (= 4.0.4)
92-
mercenary (~> 0.3)
93-
minima (= 2.5.1)
94-
nokogiri (>= 1.16.2, < 2.0)
95-
rouge (= 3.30.0)
96-
terminal-table (~> 1.4)
97-
webrick (~> 1.8)
98-
github-pages-health-check (1.18.2)
99-
addressable (~> 2.3)
100-
dnsruby (~> 1.60)
101-
octokit (>= 4, < 8)
102-
public_suffix (>= 3.0, < 6.0)
103-
typhoeus (~> 1.3)
104-
html-pipeline (2.14.3)
105-
activesupport (>= 2)
106-
nokogiri (>= 1.4)
17+
google-protobuf (4.31.0-x86_64-linux-gnu)
18+
bigdecimal
19+
rake (>= 13)
10720
http_parser.rb (0.8.0)
10821
i18n (1.14.7)
10922
concurrent-ruby (~> 1.0)
110-
jekyll (3.10.0)
23+
jekyll (4.4.1)
11124
addressable (~> 2.4)
25+
base64 (~> 0.2)
11226
colorator (~> 1.0)
11327
csv (~> 3.0)
11428
em-websocket (~> 0.5)
115-
i18n (>= 0.7, < 2)
116-
jekyll-sass-converter (~> 1.0)
29+
i18n (~> 1.0)
30+
jekyll-sass-converter (>= 2.0, < 4.0)
11731
jekyll-watch (~> 2.0)
118-
kramdown (>= 1.17, < 3)
32+
json (~> 2.6)
33+
kramdown (~> 2.3, >= 2.3.1)
34+
kramdown-parser-gfm (~> 1.0)
11935
liquid (~> 4.0)
120-
mercenary (~> 0.3.3)
36+
mercenary (~> 0.3, >= 0.3.6)
12137
pathutil (~> 0.9)
122-
rouge (>= 1.7, < 4)
38+
rouge (>= 3.0, < 5.0)
12339
safe_yaml (~> 1.0)
124-
webrick (>= 1.0)
125-
jekyll-avatar (0.8.0)
126-
jekyll (>= 3.0, < 5.0)
127-
jekyll-coffeescript (1.2.2)
128-
coffee-script (~> 2.2)
129-
coffee-script-source (~> 1.12)
130-
jekyll-commonmark (1.4.0)
131-
commonmarker (~> 0.22)
132-
jekyll-commonmark-ghpages (0.5.1)
133-
commonmarker (>= 0.23.7, < 1.1.0)
134-
jekyll (>= 3.9, < 4.0)
135-
jekyll-commonmark (~> 1.4.0)
136-
rouge (>= 2.0, < 5.0)
137-
jekyll-default-layout (0.1.5)
138-
jekyll (>= 3.0, < 5.0)
40+
terminal-table (>= 1.8, < 4.0)
41+
webrick (~> 1.7)
13942
jekyll-feed (0.17.0)
14043
jekyll (>= 3.7, < 5.0)
141-
jekyll-gist (1.5.0)
142-
octokit (~> 4.2)
143-
jekyll-github-metadata (2.16.1)
144-
jekyll (>= 3.4, < 5.0)
145-
octokit (>= 4, < 7, != 4.4.0)
146-
jekyll-include-cache (0.2.1)
147-
jekyll (>= 3.7, < 5.0)
148-
jekyll-mentions (1.6.0)
149-
html-pipeline (~> 2.3)
150-
jekyll (>= 3.7, < 5.0)
151-
jekyll-optional-front-matter (0.3.2)
152-
jekyll (>= 3.0, < 5.0)
153-
jekyll-paginate (1.1.0)
154-
jekyll-readme-index (0.3.0)
155-
jekyll (>= 3.0, < 5.0)
156-
jekyll-redirect-from (0.16.0)
157-
jekyll (>= 3.3, < 5.0)
158-
jekyll-relative-links (0.6.1)
159-
jekyll (>= 3.3, < 5.0)
160-
jekyll-remote-theme (0.4.3)
161-
addressable (~> 2.0)
162-
jekyll (>= 3.5, < 5.0)
163-
jekyll-sass-converter (>= 1.0, <= 3.0.0, != 2.0.0)
164-
rubyzip (>= 1.3.0, < 3.0)
165-
jekyll-sass-converter (1.5.2)
166-
sass (~> 3.4)
167-
jekyll-seo-tag (2.8.0)
168-
jekyll (>= 3.8, < 5.0)
44+
jekyll-sass-converter (3.1.0)
45+
sass-embedded (~> 1.75)
16946
jekyll-sitemap (1.4.0)
17047
jekyll (>= 3.7, < 5.0)
171-
jekyll-swiss (1.0.0)
172-
jekyll-theme-architect (0.2.0)
173-
jekyll (> 3.5, < 5.0)
174-
jekyll-seo-tag (~> 2.0)
175-
jekyll-theme-cayman (0.2.0)
176-
jekyll (> 3.5, < 5.0)
177-
jekyll-seo-tag (~> 2.0)
178-
jekyll-theme-dinky (0.2.0)
179-
jekyll (> 3.5, < 5.0)
180-
jekyll-seo-tag (~> 2.0)
181-
jekyll-theme-hacker (0.2.0)
182-
jekyll (> 3.5, < 5.0)
183-
jekyll-seo-tag (~> 2.0)
184-
jekyll-theme-leap-day (0.2.0)
185-
jekyll (> 3.5, < 5.0)
186-
jekyll-seo-tag (~> 2.0)
187-
jekyll-theme-merlot (0.2.0)
188-
jekyll (> 3.5, < 5.0)
189-
jekyll-seo-tag (~> 2.0)
190-
jekyll-theme-midnight (0.2.0)
191-
jekyll (> 3.5, < 5.0)
192-
jekyll-seo-tag (~> 2.0)
193-
jekyll-theme-minimal (0.2.0)
194-
jekyll (> 3.5, < 5.0)
195-
jekyll-seo-tag (~> 2.0)
196-
jekyll-theme-modernist (0.2.0)
197-
jekyll (> 3.5, < 5.0)
198-
jekyll-seo-tag (~> 2.0)
199-
jekyll-theme-primer (0.6.0)
200-
jekyll (> 3.5, < 5.0)
201-
jekyll-github-metadata (~> 2.9)
202-
jekyll-seo-tag (~> 2.0)
203-
jekyll-theme-slate (0.2.0)
204-
jekyll (> 3.5, < 5.0)
205-
jekyll-seo-tag (~> 2.0)
206-
jekyll-theme-tactile (0.2.0)
207-
jekyll (> 3.5, < 5.0)
208-
jekyll-seo-tag (~> 2.0)
209-
jekyll-theme-time-machine (0.2.0)
210-
jekyll (> 3.5, < 5.0)
211-
jekyll-seo-tag (~> 2.0)
212-
jekyll-titles-from-headings (0.5.3)
213-
jekyll (>= 3.3, < 5.0)
21448
jekyll-watch (2.2.1)
21549
listen (~> 3.0)
216-
jemoji (0.13.0)
217-
gemoji (>= 3, < 5)
218-
html-pipeline (~> 2.2)
219-
jekyll (>= 3.0, < 5.0)
220-
json (2.3.0)
221-
kramdown (2.4.0)
222-
rexml
50+
json (2.12.0)
51+
kramdown (2.5.1)
52+
rexml (>= 3.3.9)
22353
kramdown-parser-gfm (1.1.0)
22454
kramdown (~> 2.0)
22555
liquid (4.0.4)
22656
listen (3.9.0)
22757
rb-fsevent (~> 0.10, >= 0.10.3)
22858
rb-inotify (~> 0.9, >= 0.9.10)
229-
logger (1.6.6)
230-
mercenary (0.3.6)
231-
minima (2.5.1)
232-
jekyll (>= 3.5, < 5.0)
233-
jekyll-feed (~> 0.9)
234-
jekyll-seo-tag (~> 2.1)
235-
minitest (5.25.5)
236-
net-http (0.6.0)
237-
uri
238-
nokogiri (1.18.8-x86_64-linux-gnu)
239-
racc (~> 1.4)
240-
octokit (4.25.1)
241-
faraday (>= 1, < 3)
242-
sawyer (~> 0.9)
59+
mercenary (0.4.0)
24360
pathutil (0.16.2)
24461
forwardable-extended (~> 2.6)
245-
public_suffix (5.1.1)
246-
racc (1.8.1)
62+
public_suffix (6.0.2)
63+
rake (13.2.1)
24764
rb-fsevent (0.11.2)
24865
rb-inotify (0.11.1)
24966
ffi (~> 1.0)
25067
rexml (3.4.1)
251-
rouge (3.30.0)
252-
rubyzip (2.4.1)
68+
rouge (4.5.2)
25369
safe_yaml (1.0.5)
254-
sass (3.7.4)
255-
sass-listen (~> 4.0.0)
256-
sass-listen (4.0.0)
257-
rb-fsevent (~> 0.9, >= 0.9.4)
258-
rb-inotify (~> 0.9, >= 0.9.7)
259-
sawyer (0.9.2)
260-
addressable (>= 2.3.5)
261-
faraday (>= 0.17.3, < 3)
262-
securerandom (0.4.1)
263-
simpleidn (0.2.3)
264-
terminal-table (1.8.0)
265-
unicode-display_width (~> 1.1, >= 1.1.1)
266-
typhoeus (1.4.1)
267-
ethon (>= 0.9.0)
268-
tzinfo (2.0.6)
269-
concurrent-ruby (~> 1.0)
270-
unicode-display_width (1.8.0)
271-
uri (1.0.3)
70+
sass-embedded (1.89.0-x86_64-linux-gnu)
71+
google-protobuf (~> 4.31)
72+
terminal-table (3.0.2)
73+
unicode-display_width (>= 1.1.1, < 3)
74+
unicode-display_width (2.6.0)
27275
webrick (1.9.1)
27376

27477
PLATFORMS
27578
x86_64-linux
27679

27780
DEPENDENCIES
278-
github-pages
279-
jekyll-sitemap
280-
json (= 2.3.0)
81+
http_parser.rb (~> 0.6.0)
82+
jekyll (~> 4.4.1)
83+
jekyll-feed (~> 0.12)
84+
jekyll-sitemap (~> 1.4)
85+
tzinfo (>= 1, < 3)
28186
tzinfo-data
282-
webrick
283-
284-
RUBY VERSION
285-
ruby 3.4.2p28
87+
wdm (~> 0.1)
28688

28789
BUNDLED WITH
288-
2.3.16
90+
2.6.9

_config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
title: Bugzilla
2-
email: developers@bugzilla.org
3-
description: ""
1+
title: "Bugzilla"
2+
email: "developers@bugzilla.org"
3+
description: "Jekyll theme for Bugzilla websites"
44
baseurl: ""
5-
url: "https://bugzilla.org/"
5+
url: "https://bugzilla.org"
66

77
sass:
88
sass_dir: _sass

0 commit comments

Comments
 (0)