Skip to content

Update jekyll.yml v11 #16

Update jekyll.yml v11

Update jekyll.yml v11 #16

Workflow file for this run

name: Build and deploy to GitHub Pages
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
github-pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Set up Ruby with a specific version (ensure it's >= 3.0)
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0' # Set Ruby version to 3.0 or higher
# Check Ruby version to verify it's 3.0 or higher
- name: Check Ruby version
run: ruby -v
# Update RubyGems to the required version (>= 3.3.22)
- name: Update RubyGems
run: |
gem update --system 3.3.22
# Install bundler
- name: Install Bundler
run: gem install bundler
# Install dependencies
- name: Install dependencies
run: bundle install
- uses: helaili/jekyll-action@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
target_branch: 'gh-pages'