From 88db57929778c6e9f95cd50a8c574a114d2305ec Mon Sep 17 00:00:00 2001 From: selsta Date: Thu, 2 Apr 2020 19:51:04 +0200 Subject: [PATCH] workflows: add site CI --- .github/workflows/ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..61c26efd --- /dev/null +++ b/.github/workflows/ci.yml @@ -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