Skip to content

Update index.md

Update index.md #19

Workflow file for this run

name: Deploy
on:
push:
branches:
master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
# https://github.com/actions/cache/blob/master/examples.md#ruby---bundler
- name: "Cache: Set up bundler cache"
uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
- name: Use Node.js
uses: actions/setup-node@v1
with: { node-version: '12.x' }
- name: Use Ruby
uses: ruby/setup-ruby@v1
with: { ruby-version: '2.7' }
- name: Setup dependencies
run: |
npm i
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- run: npm run build && bundle exec jekyll build
- name: 🚀 deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site