mirror of
https://github.com/monero-project/monero-site.git
synced 2024-12-25 21:19:49 +00:00
eaf89cc355
- Bump actions/checkout to v2 - Limit number of posts to be built to 10
23 lines
584 B
YAML
23 lines
584 B
YAML
name: gh-actions/site
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-18.04
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
ruby: [ '2.4', '2.5', '2.6', '2.7' ]
|
|
name: Ruby ${{ matrix.ruby }}
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- 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
|