diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-05-20 20:55:42 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-05-20 21:04:14 +0200 |
commit | 4b871e8f64f0db0bef199489a014a4c7c5129405 (patch) | |
tree | 916868f97dfd298fb13db340a4c46937d530bf7c /.github/workflows | |
parent | remove category from permalinks (diff) | |
download | jekyll-theme-4b871e8f64f0db0bef199489a014a4c7c5129405.tar.gz jekyll-theme-4b871e8f64f0db0bef199489a014a4c7c5129405.zip |
switch from GitHub Pages to plain Jekyllmigration
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/ci.yml | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c229f97..29cb911 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.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 |