monero-site/.github/workflows/ci.yml

24 lines
584 B
YAML
Raw Normal View History

2020-04-02 20:51:04 +03:00
name: gh-actions/site
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-18.04
strategy:
2020-04-17 14:28:18 +03:00
fail-fast: false
2020-04-02 20:51:04 +03:00
matrix:
ruby: [ '2.4', '2.5', '2.6', '2.7' ]
name: Ruby ${{ matrix.ruby }}
steps:
- uses: actions/checkout@v2
2020-04-02 20:51:04 +03:00
- 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 --limit-posts 10