Skip to content

Update index.md

Update index.md #81

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Chache Dependencies
uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
- name: Set Up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
- name: Install Dependencies
run: |
gem install bundler:2.4.17
gem update --system
bundle install --verbose
- name: Build Jekyll Site
run: |
bundle exec jekyll build
ls -R
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: _site
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: jekyll-artifact
path: _site