21 lines
530 B
YAML
21 lines
530 B
YAML
name: Build and deploy site to GitHub Pages
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
jobs:
|
|
github-pages:
|
|
runs-on: ubuntu-16.04
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/cache@v1
|
|
with:
|
|
path: vendor/bundle
|
|
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
|
|
restore-keys: |
|
|
${{ runner.os }}-gems-
|
|
- uses: helaili/jekyll-action@2.0.1
|
|
env:
|
|
JEKYLL_PAT: ${{ secrets.JEKYLL_PAT }}
|
|
with:
|
|
jekyll_src: 'docs' |