Skip to content

chore: bump to actions/checkout@v4 #5

chore: bump to actions/checkout@v4

chore: bump to actions/checkout@v4 #5

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
- name: Install Jekyll and Bundler
run: |
gem install jekyll bundler
bundle install
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: "20"
- name: Install Node.js dependencies
run: npm install
- name: Build Jekyll site
run: JEKYLL_ENV=production bundle exec jekyll build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site