Skip to content

update GitHub Actions workflow to use peaceiris/actions-gh-pages@v4 #3

update GitHub Actions workflow to use peaceiris/actions-gh-pages@v4

update GitHub Actions workflow to use peaceiris/actions-gh-pages@v4 #3

Workflow file for this run

name: Build and Deploy Jekyll
on:
push:
branches:
- main
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
bundler-cache: true
- name: Install Dependencies
run: bundle install
- name: Build Site
run: bundle exec jekyll build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site