Skip to content

Commit

Permalink
Merge pull request #20 from UTKiraraCircle/jekyll4
Browse files Browse the repository at this point in the history
Update jekyll to v4
  • Loading branch information
fabon-f authored Jul 10, 2024
2 parents 0341ec7 + 35c2d51 commit edb5cd2
Show file tree
Hide file tree
Showing 4 changed files with 159 additions and 288 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,17 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Build
uses: actions/jekyll-build-pages@v1
- name: Install Ruby
uses: ruby/setup-ruby@v1
with:
source: ./
destination: ./_site
ruby-version: '3.3'
bundler-cache: true
- name: Build
run: bundle exec jekyll build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: _site/
deploy:
runs-on: ubuntu-latest
needs: build
Expand Down
22 changes: 9 additions & 13 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
source "http://rubygems.org"
source "https://rubygems.org"
# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
Expand All @@ -7,26 +7,22 @@ source "http://rubygems.org"
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!

# gem "jekyll"
gem "rack"
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
gem "github-pages", group: :jekyll_plugins
gem "jekyll", "~> 4.3.3"
# If you have any plugins, put them here!
group :jekyll_plugins do
gem "jekyll-feed"
gem 'jekyll-admin', "0.9.0"
gem "jekyll-feed", "~> 0.12"
end

# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
# and associated library.
install_if -> { RUBY_PLATFORM =~ %r!mingw|mswin|java! } do
gem "tzinfo", "~> 1.2"
platforms :mingw, :x64_mingw, :mswin, :jruby do
gem "tzinfo", ">= 1", "< 3"
gem "tzinfo-data"
end

# Performance-booster for watching directories on Windows
gem "wdm", :install_if => Gem.win_platform?
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]

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

0 comments on commit edb5cd2

Please sign in to comment.