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

24 lines
570 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-22.04
2020-04-02 20:51:04 +03:00
strategy:
2020-04-17 14:28:18 +03:00
fail-fast: false
2020-04-02 20:51:04 +03:00
matrix:
2024-02-02 01:00:54 +02:00
ruby: [ '3.1.6','3.2.4' ]
2020-04-02 20:51:04 +03:00
name: Ruby ${{ matrix.ruby }}
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
2020-04-02 20:51:04 +03:00
with:
ruby-version: ${{ matrix.ruby }}
- name: install bundler
run: gem install bundler:2.2.23
2020-04-02 20:51:04 +03:00
- name: bundle install
run: bundle install --jobs 4 --retry 3
- name: build site
run: bundle exec jekyll build --limit-posts 10