Skip to content

Merge pull request #117 from akkinoc/dependabot/github_actions/ruby/s… #428

Merge pull request #117 from akkinoc/dependabot/github_actions/ruby/s…

Merge pull request #117 from akkinoc/dependabot/github_actions/ruby/s… #428

Workflow file for this run

name: build
on: [push, pull_request, workflow_dispatch]
env:
TZ: Asia/Tokyo
jobs:
build:
name: Build
runs-on: ubuntu-20.04
steps:
- name: Checkout the Git repository
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Setup Ruby
uses: ruby/[email protected]
with:
bundler-cache: true
- name: Build the site
run: bundle exec jekyll build
env:
JEKYLL_ENV: production
- name: Deploy the site
if: ${{ github.ref == 'refs/heads/main' }}
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: _site
cname: akkinoc.dev