Skip to content

Build and deploy Jekyll site to GitHub Pages #218

Build and deploy Jekyll site to GitHub Pages

Build and deploy Jekyll site to GitHub Pages #218

Workflow file for this run

name: Build and deploy Jekyll site to GitHub Pages
on:
push:
branches:
- release
workflow_dispatch:
jobs:
jekyll:
runs-on: ubuntu-latest
steps:
- name: 📂 setup
uses: actions/checkout@v4
- name: 💎 setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
- name: 🔨 install dependencies & build site
uses: limjh16/jekyll-action-ts@v2
- name: 🚀 deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site