mirror of
https://github.com/monero-project/monero-site.git
synced 2024-12-23 03:59:26 +00:00
workflows: add site CI
This commit is contained in:
parent
dfbe0c02ba
commit
88db579297
1 changed files with 22 additions and 0 deletions
22
.github/workflows/ci.yml
vendored
Normal file
22
.github/workflows/ci.yml
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
name: gh-actions/site
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-18.04
|
||||
strategy:
|
||||
matrix:
|
||||
ruby: [ '2.4', '2.5', '2.6', '2.7' ]
|
||||
name: Ruby ${{ matrix.ruby }}
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- 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
|
Loading…
Reference in a new issue