Skip to content

Use manual pages deployment workflow #6

Use manual pages deployment workflow

Use manual pages deployment workflow #6

Workflow file for this run

name: Deploy GitHub Pages
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2 # Ruby version compatible with Jekyll
bundler-cache: true
- name: Install dependencies and build
run: |
bundle install
bundle exec jekyll build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site