mirror of
https://github.com/monero-project/monero-site.git
synced 2024-12-23 20:19:29 +00:00
e3b766cd80
- upgrade ubuntu version to ubuntu-22.04 - upgrade to checkout@v3 - upgrade bundler version to 2.2.23
23 lines
569 B
YAML
23 lines
569 B
YAML
name: gh-actions/site
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-22.04
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
ruby: [ '2.7', '3.0.1' ]
|
|
name: Ruby ${{ matrix.ruby }}
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: ruby/setup-ruby@v1
|
|
with:
|
|
ruby-version: ${{ matrix.ruby }}
|
|
- name: install bundler
|
|
run: gem install bundler:2.2.23
|
|
- name: bundle install
|
|
run: bundle install --jobs 4 --retry 3
|
|
- name: build site
|
|
run: bundle exec jekyll build --limit-posts 10
|