Skip to content

Commit

Permalink
fix(github-actions): Update ruby version to 3.3.5 and jeffreytse/jeky…
Browse files Browse the repository at this point in the history
…ll-deploy-action to 0.6.0
  • Loading branch information
jeanjerome committed Oct 6, 2024
1 parent 95a2fce commit 9d0de30
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/build-jekyll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,22 @@ jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
lfs: 'true'

# Use GitHub Actions' cache to cache dependencies on servers
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
path: |
.asdf/**
vendor/bundle
key: ${{ runner.os }}-cache-${{ hashFiles('**/cache.key') }}
restore-keys: |
${{ runner.os }}-gems-
${{ runner.os }}-cache-
# Use GitHub Deploy Action to build and deploy to GitHub
- uses: jeffreytse/jekyll-deploy-action@v0.5.1
- uses: jeffreytse/jekyll-deploy-action@v0.6.0
with:
provider: 'github'
token: ${{ secrets.GITHUB_TOKEN }} # It's your Personal Access Token(PAT)
Expand All @@ -31,7 +33,8 @@ jobs:
jekyll_src: './' # Default is root directory
jekyll_cfg: '_config.yml' # Default is _config.yml
jekyll_baseurl: '' # Default is according to _config.yml
bundler_ver: '' # Default is compatible bundler version (~>2.4.0)
ruby_ver: '3.3.5' # Default is 3.2.0 version
bundler_ver: '2.5.21' # Default is compatible bundler version (~>2.5.0)
cname: 'scalastic.io' # Default is to not use a cname
actor: '' # Default is the GITHUB_ACTOR
pre_build_commands: pacman-key --init; pacman -S --noconfirm git-lfs libvips lcms2 openjpeg2 libpng libwebp libheif imagemagick openslide libjxl poppler-glib

0 comments on commit 9d0de30

Please sign in to comment.