workflows: add site CI

This commit is contained in:
selsta 2020-04-02 19:51:04 +02:00
parent dfbe0c02ba
commit 88db579297
No known key found for this signature in database
GPG key ID: 2EA0A99A8B07AE5E

22
.github/workflows/ci.yml vendored Normal file
View file

@ -0,0 +1,22 @@
name: gh-actions/site
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-18.04
strategy:
matrix:
ruby: [ '2.4', '2.5', '2.6', '2.7' ]
name: Ruby ${{ matrix.ruby }}
steps:
- uses: actions/checkout@v1
- uses: actions/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: install bundler
run: gem install bundler:1.17.3
- name: bundle install
run: bundle install --jobs 4 --retry 3
- name: build site
run: bundle exec jekyll build