Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ on:

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
inputs:
skip_deploy:
description: "Skip deploy step"
required: true
default: true
type: boolean

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
Expand All @@ -37,7 +43,7 @@ jobs:
# https://github.com/ruby/setup-ruby/releases/tag/v1.207.0
uses: ruby/setup-ruby@4a9ddd6f338a97768b8006bf671dfbad383215f4
with:
ruby-version: '3.1' # Not needed with a .ruby-version file
ruby-version: '3.2' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 0 # Increment this number if you need to re-download cached gems
- name: Setup Pages
Expand All @@ -58,6 +64,9 @@ jobs:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
# inputs are empty (false) on automatic triggering of workflows, and want to run deploy
# in these cases
if: ${{ !inputs.skip_deploy }}
needs: build
steps:
- name: Deploy to GitHub Pages
Expand Down
16 changes: 16 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM ruby:3.2

RUN apt-get update && apt-get install -y \
build-essential \
nodejs \
git \
&& rm -rf /var/lib/apt/lists/*

RUN git config --global --add safe.directory /srv/jekyll

WORKDIR /srv/jekyll

RUN gem install jekyll
RUN gem install bundler

EXPOSE 4000
158 changes: 101 additions & 57 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,110 +2,154 @@ PATH
remote: .
specs:
bulma-clean-theme (0.6.3)
jekyll (~> 4.0)
jekyll (~> 4.3)
jekyll-feed (~> 0.15)
jekyll-paginate (~> 1.1)
jekyll-seo-tag (~> 2.6)
jekyll-seo-tag (~> 2.7)
jekyll-sitemap (~> 1.4)
kramdown-parser-gfm (~> 1.1)

GEM
remote: https://rubygems.org/
specs:
addressable (2.8.0)
public_suffix (>= 2.0.2, < 5.0)
bibtex-ruby (6.0.0)
addressable (2.9.0)
public_suffix (>= 2.0.2, < 8.0)
base64 (0.3.0)
bibtex-ruby (6.2.0)
latex-decode (~> 0.0)
citeproc (1.0.10)
logger (~> 1.7)
racc (~> 1.7)
bigdecimal (4.1.2)
citeproc (1.1.0)
date
forwardable
json
namae (~> 1.0)
citeproc-ruby (1.1.13)
observer (< 1.0)
open-uri (< 1.0)
citeproc-ruby (2.1.8)
citeproc (~> 1.0, >= 1.0.9)
csl (~> 1.5)
csl (~> 2.0)
observer (< 1.0)
colorator (1.1.0)
concurrent-ruby (1.1.8)
csl (1.5.2)
namae (~> 1.0)
csl-styles (1.0.1.10)
csl (~> 1.0)
em-websocket (0.5.2)
concurrent-ruby (1.3.6)
csl (2.2.1)
forwardable (~> 1.3)
namae (~> 1.2)
open-uri (< 1.0)
rexml (~> 3.0)
set (~> 1.1)
singleton (< 1.0)
time (< 1.0)
csl-styles (2.0.2)
csl (~> 2.0)
csv (3.3.5)
date (3.5.1)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
http_parser.rb (~> 0)
eventmachine (1.2.7)
ffi (1.15.0)
ffi (1.17.4-x86_64-darwin)
ffi (1.17.4-x86_64-linux-gnu)
forwardable (1.4.0)
forwardable-extended (2.6.0)
http_parser.rb (0.6.0)
i18n (1.8.10)
google-protobuf (4.34.1-x86_64-darwin)
bigdecimal
rake (~> 13.3)
google-protobuf (4.34.1-x86_64-linux-gnu)
bigdecimal
rake (~> 13.3)
http_parser.rb (0.8.1)
i18n (1.14.8)
concurrent-ruby (~> 1.0)
jekyll (4.2.0)
jekyll (4.4.1)
addressable (~> 2.4)
base64 (~> 0.2)
colorator (~> 1.0)
csv (~> 3.0)
em-websocket (~> 0.5)
i18n (~> 1.0)
jekyll-sass-converter (~> 2.0)
jekyll-sass-converter (>= 2.0, < 4.0)
jekyll-watch (~> 2.0)
kramdown (~> 2.3)
json (~> 2.6)
kramdown (~> 2.3, >= 2.3.1)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (~> 0.4.0)
mercenary (~> 0.3, >= 0.3.6)
pathutil (~> 0.9)
rouge (~> 3.0)
rouge (>= 3.0, < 5.0)
safe_yaml (~> 1.0)
terminal-table (~> 2.0)
jekyll-feed (0.15.1)
terminal-table (>= 1.8, < 4.0)
webrick (~> 1.7)
jekyll-feed (0.17.0)
jekyll (>= 3.7, < 5.0)
jekyll-paginate (1.1.0)
jekyll-sass-converter (2.1.0)
sassc (> 2.0.1, < 3.0)
jekyll-scholar (7.0.0)
jekyll-sass-converter (3.1.0)
sass-embedded (~> 1.75)
jekyll-scholar (7.3.0)
bibtex-ruby (~> 6.0)
citeproc-ruby (~> 1.0)
csl-styles (~> 1.0)
citeproc-ruby (>= 2.1.6)
csl-styles (~> 2.0)
jekyll (~> 4.0)
jekyll-seo-tag (2.7.1)
jekyll-seo-tag (2.9.0)
jekyll (>= 3.8, < 5.0)
jekyll-sitemap (1.4.0)
jekyll (>= 3.7, < 5.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (2.3.1)
rexml
json (2.19.5)
kramdown (2.5.2)
rexml (>= 3.4.4)
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
latex-decode (0.3.2)
liquid (4.0.3)
listen (3.5.1)
latex-decode (0.4.2)
liquid (4.0.4)
listen (3.10.0)
logger
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
logger (1.7.0)
mercenary (0.4.0)
namae (1.1.1)
nokogiri (1.18.8-arm64-darwin)
racc (~> 1.4)
nokogiri (1.18.8-x86_64-linux-gnu)
namae (1.2.0)
racc (~> 1.7)
nokogiri (1.19.3-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.18.8-x86_64-linux-musl)
nokogiri (1.19.3-x86_64-linux-gnu)
racc (~> 1.4)
observer (0.1.2)
open-uri (0.5.0)
stringio
time
uri
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (4.0.6)
public_suffix (7.0.5)
racc (1.8.1)
rake (12.3.3)
rb-fsevent (0.10.4)
rb-inotify (0.10.1)
rake (13.4.2)
rb-fsevent (0.11.2)
rb-inotify (0.11.1)
ffi (~> 1.0)
rexml (3.4.2)
rouge (3.26.0)
rexml (3.4.4)
rouge (4.7.0)
safe_yaml (1.0.5)
sassc (2.4.0)
ffi (~> 1.9)
terminal-table (2.0.0)
unicode-display_width (~> 1.1, >= 1.1.1)
unicode-display_width (1.7.0)
webrick (1.8.2)
sass-embedded (1.99.0-x86_64-darwin)
google-protobuf (~> 4.31)
sass-embedded (1.99.0-x86_64-linux-gnu)
google-protobuf (~> 4.31)
set (1.1.3)
singleton (0.3.0)
stringio (3.2.0)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
time (0.4.2)
date
unicode-display_width (2.6.0)
uri (1.1.1)
webrick (1.9.2)

PLATFORMS
arm64-darwin-23
x86_64-darwin-24
x86_64-linux
x86_64-linux-musl

DEPENDENCIES
bulma-clean-theme!
Expand All @@ -118,8 +162,8 @@ DEPENDENCIES
kramdown (>= 2.3.0)
kramdown-parser-gfm
nokogiri
rake (~> 12.0)
rake (~> 13.0)
webrick (~> 1.8)

BUNDLED WITH
2.2.2
2.4.19
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Build with Docker
Assuming you have Docker installed, pull the following image:
Assuming you have Docker installed, build the container:
```bash
$ docker pull jekyll/jekyll:latest
$ docker compose build
```
Run a container:
```bash
Expand Down
6 changes: 3 additions & 3 deletions bulma-clean-theme.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ Gem::Specification.new do |spec|

spec.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r!^(assets|_layouts|_includes|_sass|_posts|blog|LICENSE|README|package|node_modules|favicon)!i) }

spec.add_runtime_dependency "jekyll", "~> 4.0"
spec.add_runtime_dependency "jekyll", "~> 4.3"
spec.add_runtime_dependency "jekyll-feed", "~> 0.15"
spec.add_runtime_dependency "jekyll-sitemap", "~> 1.4"
spec.add_runtime_dependency "jekyll-paginate", "~> 1.1"
spec.add_runtime_dependency "jekyll-seo-tag", "~> 2.6"
spec.add_runtime_dependency "jekyll-seo-tag", "~> 2.7"
spec.add_runtime_dependency "kramdown-parser-gfm", "~> 1.1"

spec.add_development_dependency "bundler", "~> 2.0"
spec.add_development_dependency "rake", "~> 12.0"
spec.add_development_dependency "rake", "~> 13.0"
end
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
services:
jekyll:
image: jekyll/jekyll:latest
command: jekyll serve --watch --force_polling --livereload
build: .
command: "/bin/sh -c 'bundle install && bundle exec jekyll serve --host 0.0.0.0 --watch --force_polling --livereload'"
ports:
- 4000:4000
volumes:
Expand Down
Loading