Skip to content

Create jekyll.yml

Create jekyll.yml #83

Workflow file for this run

name: CI
on:
push:
branches:
- master
# resources used to create this file
#https://github.com/peaceiris/actions-gh-pages
#https://github.com/jeffreytse/jekyll-deploy-action
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Ruby
uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
with:
ruby-version: '3.1' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 0 # Increment this number if you need to re-download cached gems
- name: Build Jekyll Site
run: bundle exec jekyll build
- name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v2