aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-05-20 21:16:05 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-05-20 21:16:05 +0200
commitbf5a900922e28c5bd3ef6265e6f3f8ea784bfc1a (patch)
treecd63031dd47bb731ed2565ab3672df06818a2475 /.github/workflows
parentmove Jekyll options to _config.yml (diff)
downloadsorting-algorithms-bf5a900922e28c5bd3ef6265e6f3f8ea784bfc1a.tar.gz
sorting-algorithms-bf5a900922e28c5bd3ef6265e6f3f8ea784bfc1a.zip
switch from GitHub Pages to plain Jekyllmigration
Diffstat (limited to '')
-rw-r--r--.github/workflows/jekyll.yml16
1 files changed, 5 insertions, 11 deletions
diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml
index 4062af8..b6be8fa 100644
--- a/.github/workflows/jekyll.yml
+++ b/.github/workflows/jekyll.yml
@@ -6,25 +6,19 @@ on:
workflow_dispatch:
jobs:
- build:
- strategy:
- matrix:
- ruby-version: [2.6, 2.7]
- version: [Gemfile, latest]
- include:
- - {version: Gemfile, gemfile: Gemfile}
- - {version: latest, gemfile: .ci/Gemfile}
+ deploy:
runs-on: ubuntu-latest
- name: 'Build / ${{ matrix.ruby-version }} / ${{ matrix.version }}'
env:
- BUNDLE_GEMFILE: '${{ matrix.gemfile }}'
+ RUBY_VERSION: 2.7
+ JEKYLL_GITHUB_TOKEN: '${{ secrets.GH_TOKEN }}'
+ name: Deploy
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
- ruby-version: '${{ matrix.ruby-version }}'
+ ruby-version: '${{ env.RUBY_VERSION }}'
bundler-cache: true
- name: Build
run: make build