diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-06-15 23:48:37 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-06-15 23:48:37 +0300 |
commit | 7a2dfe0090843770288532c072b7264fe30fc08b (patch) | |
tree | 961301e8f90afe4d3171de7c238bb5d34dae4e4b /.github/workflows/jekyll.yml | |
parent | workflows/test: use ubuntu-latest (diff) | |
download | egor-tensin.github.io-7a2dfe0090843770288532c072b7264fe30fc08b.tar.gz egor-tensin.github.io-7a2dfe0090843770288532c072b7264fe30fc08b.zip |
workflows/test -> workflows/jekyll
Diffstat (limited to '.github/workflows/jekyll.yml')
-rw-r--r-- | .github/workflows/jekyll.yml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml new file mode 100644 index 0000000..3915aee --- /dev/null +++ b/.github/workflows/jekyll.yml @@ -0,0 +1,33 @@ +name: Test + +on: + push: + pull_request: + schedule: + # Weekly, at 5:45 AM on Thursday (somewhat randomly chosen). + - cron: '45 5 * * 4' + workflow_dispatch: + +jobs: + bundler: + runs-on: ubuntu-latest + strategy: + matrix: + ruby-version: [2.5, 2.6, 2.7] + version: [Gemfile, latest] + include: + - {version: Gemfile, gemfile: Gemfile} + - {version: latest, gemfile: .ci/Gemfile} + name: 'Build / ${{ matrix.ruby-version }} / ${{ matrix.version }}' + env: + BUNDLE_GEMFILE: '${{ matrix.gemfile }}' + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: '${{ matrix.ruby-version }}' + bundler-cache: true + - name: jekyll build + run: bundle exec jekyll build |