monero-site/.github/workflows/ci.yml
erciccione e5663e082a
update ci and netlify settings
workflows: remove version 2.4 and add 3.0.x to github ci
netlify: bump RUBY_VERSION to 2.7 since jekyll 4 won't work with
ruby <= 2.6
2021-05-14 10:46:21 +02:00

23 lines
583 B
YAML

name: gh-actions/site
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-18.04
strategy:
fail-fast: false
matrix:
ruby: [ '2.5', '2.6', '2.7', '3.0.1' ]
name: Ruby ${{ matrix.ruby }}
steps:
- uses: actions/checkout@v2
- uses: ruby/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 --limit-posts 10