Skip to content

Commit 8ec36d3

Browse files
committed
Fix github pages build error, update gem versions
1 parent eb4d914 commit 8ec36d3

File tree

7 files changed

+206
-93
lines changed

7 files changed

+206
-93
lines changed

.github/dependabot.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: bundler
4+
directory: /
5+
schedule:
6+
interval: daily
7+
allow:
8+
- dependency-type: direct

.github/workflows/ci.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
pull_request:
7+
8+
jobs:
9+
# Build job
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
- name: Setup Ruby
16+
uses: ruby/setup-ruby@v1
17+
with:
18+
ruby-version: '3.3' # Not needed with a .ruby-version file
19+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
20+
cache-version: 0 # Increment this number if you need to re-download cached gems
21+
- name: Build with Jekyll
22+
run: bundle exec jekyll build

.github/workflows/pages.yml

+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# This workflow uses actions that are not certified by GitHub.
2+
# They are provided by a third-party and are governed by
3+
# separate terms of service, privacy policy, and support
4+
# documentation.
5+
6+
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
7+
name: Deploy Jekyll site to Pages
8+
9+
on:
10+
push:
11+
branches: ["main"]
12+
13+
# Allows you to run this workflow manually from the Actions tab
14+
workflow_dispatch:
15+
16+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
17+
permissions:
18+
contents: read
19+
pages: write
20+
id-token: write
21+
22+
# Allow one concurrent deployment
23+
concurrency:
24+
group: "pages"
25+
cancel-in-progress: true
26+
27+
jobs:
28+
# Build job
29+
build:
30+
runs-on: ubuntu-latest
31+
steps:
32+
- name: Checkout
33+
uses: actions/checkout@v4
34+
- name: Setup Ruby
35+
uses: ruby/setup-ruby@v1
36+
with:
37+
ruby-version: '3.3' # Not needed with a .ruby-version file
38+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
39+
cache-version: 0 # Increment this number if you need to re-download cached gems
40+
- name: Setup Pages
41+
id: pages
42+
uses: actions/configure-pages@v5
43+
- name: Build with Jekyll
44+
# Outputs to the './_site' directory by default
45+
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
46+
env:
47+
JEKYLL_ENV: production
48+
- name: Upload artifact
49+
# Automatically uploads an artifact from the './_site' directory by default
50+
uses: actions/upload-pages-artifact@v3
51+
52+
# Deployment job
53+
deploy:
54+
environment:
55+
name: github-pages
56+
url: ${{ steps.deployment.outputs.page_url }}
57+
runs-on: ubuntu-latest
58+
needs: build
59+
steps:
60+
- name: Deploy to GitHub Pages
61+
id: deployment
62+
uses: actions/deploy-pages@v4

Gemfile

+11-10
Original file line numberDiff line numberDiff line change
@@ -9,31 +9,32 @@ source "https://rubygems.org"
99
# Happy Jekylling!
1010
#gem "jekyll", "~> 4.3.1"
1111
# This is the default theme for new Jekyll sites. You may change this to anything you like.
12-
gem "minima", "~> 2.5"
12+
gem "minima", "~> 2.5.1"
1313
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
1414
# uncomment the line below. To upgrade, run `bundle update github-pages`.
15-
gem "github-pages", "~> 227", group: :jekyll_plugins
15+
gem "github-pages", "~> 231", group: :jekyll_plugins
1616
# If you have any plugins, put them here!
1717
group :jekyll_plugins do
18-
gem "jekyll-feed", "~> 0.12"
18+
gem "jekyll-feed", "~> 0.17.0"
1919
end
2020

2121
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
2222
# and associated library.
2323
platforms :mingw, :x64_mingw, :mswin, :jruby do
24-
gem "tzinfo", ">= 1", "< 3"
24+
#gem "tzinfo", ">= 1", "< 3"
25+
gem "tzinfo"
2526
gem "tzinfo-data"
2627
end
2728

2829
# Performance-booster for watching directories on Windows
29-
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
30+
gem "wdm", :platforms => [:mingw, :x64_mingw, :mswin]
3031

3132
# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
3233
# do not have a Java counterpart.
3334
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
3435

35-
gem "webrick", "~> 1.7"
36-
37-
gem "just-the-docs", "~> 0.3.3"
38-
39-
gem 'jemoji'
36+
#gem "webrick", "~> 1.7"
37+
gem "webrick", "~> 1.8.1"
38+
gem "just-the-docs", "~> 0.8.2" # pinned version
39+
gem 'jemoji', "~> 0.13.0"
40+
gem 'kramdown-parser-gfm', "~> 1.1.0"

0 commit comments

Comments
 (0)