Skip to content

Update jekyll.yml with proper ruby version #21

Update jekyll.yml with proper ruby version

Update jekyll.yml with proper ruby version #21

Workflow file for this run

name: Build & Deploy to Github Pages
on:
push:
branches:
- main
jobs:
jekyll:
runs-on: ubuntu-latest
steps:
- name: 📂 checkout code
uses: actions/checkout@v3
- name: 💎 setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3.4
# - name: cache
# uses: actions/cache@v3
# with:
# path: vendor/bundle
# key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }}
# restore-keys: |
# ${{ runner.os }}-gems-
- name: 🔨 build site with jekyll
uses: limjh16/jekyll-action-ts@v2
with:
enable_cache: true
- name: 🚀 deploy site to gh-pages branch
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site