Skip to content

build slate docs (#154) #3

build slate docs (#154)

build slate docs (#154) #3

Workflow file for this run

name: Build Slate docs
on:
push:
branches: [ '*' ]
pull_request:
branches: [ '*' ]
jobs:
build-and-test-slate:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ${{ github.workspace }}/slate-docs
strategy:
matrix:
ruby-version: [2.7.0]
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
- uses: actions/cache@v1
with:
path: vendor/bundle
key: gems-${{ runner.os }}-${{ matrix.ruby-version }}-${{ hashFiles('**/Gemfile.lock') }}
- run: bundle config set deployment 'true'
- run: bundle install
- run: bundle exec middleman build