Skip to content

refactor: rename deploy.yml to build.yml #1

refactor: rename deploy.yml to build.yml

refactor: rename deploy.yml to build.yml #1

Workflow file for this run

name: Build Jekyll site and deploy static HTML to the "static" branch
on:
workflow_dispatch:
push:
branches:
- master
jobs:
build-and-deploy:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Ruby and dependencies
uses: ruby/setup-ruby@v1
with:
ruby-version: '3'
bundler-cache: true
- name: Build static HTML
run: bundle exec jekyll build
- name: Deploy static HTML to the "static" branch
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: static
folder: _site
single-commit: true