diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-05-16 22:15:35 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-05-16 22:15:35 +0200 |
commit | 839ffd3d45cccee29fc3c789a0938a15415f6130 (patch) | |
tree | 160fdd181494e3edff2e05af9eec51ddd0a1fdb9 /.github/workflows | |
parent | move Jekyll options to _config.yml (diff) | |
download | wireguard-config-839ffd3d45cccee29fc3c789a0938a15415f6130.tar.gz wireguard-config-839ffd3d45cccee29fc3c789a0938a15415f6130.zip |
switch from GitHub Pages to plain Jekyllmigration
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/jekyll.yml | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index f1941f4..b6be8fa 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -6,25 +6,19 @@ on: workflow_dispatch: jobs: - build: + deploy: runs-on: ubuntu-latest - strategy: - matrix: - ruby-version: [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 }}' + 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 |