Skip to content

Merge pull request #297 from readchina/update-workflow #232

Merge pull request #297 from readchina/update-workflow

Merge pull request #297 from readchina/update-workflow #232

Workflow file for this run

name: Build and deploy jekyll site
on:
push:
branches:
- master
jobs:
jekyll:
runs-on: ubuntu-latest
steps:
- name: 📂 setup
uses: actions/checkout@v4
- name: 💎 setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
- name: 🔨 install dependencies & build site
uses: limjh16/jekyll-action-ts@v2
with:
enable_cache: true
# format_output: true
- name: 🚀 deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site