Skip to content

Commit

Permalink
try to build jekyll
Browse files Browse the repository at this point in the history
  • Loading branch information
andibraeu committed Nov 15, 2024
1 parent 6a6f78e commit 82f8cdc
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Build the site in the jekyll/builder container
run: |
docker run \
-v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \
jekyll/builder:latest /bin/bash -c "chmod -R 777 /srv/jekyll && jekyll build --future"
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Build with Jekyll
# Outputs to the './_site' directory by default
run: bundle exec jekyll build
- name: Publish
if: github.event_name == 'push'
uses: nogsantos/[email protected]
Expand Down
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.3.6
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
source "https://rubygems.org"
ruby "3.1.1"
ruby "3.3.6"

gem "jekyll", ">= 4.2.0"
gem "html-proofer", ">= 3.10.0"
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ DEPENDENCIES
webrick (~> 1.8)

RUBY VERSION
ruby 3.1.1p18
ruby 3.3.6p108

BUNDLED WITH
2.4.21

0 comments on commit 82f8cdc

Please sign in to comment.