From 75897fa7f993d304857a722f426c2c4f8e46d5a8 Mon Sep 17 00:00:00 2001 From: Enno Gotthold Date: Thu, 4 Jul 2024 12:43:36 +0200 Subject: [PATCH] CI: Use official GitHub build --- .github/workflows/build.yml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 33fc14a4..b8fdad35 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,16 +1,17 @@ name: build + on: pull_request + +permissions: + contents: read + jobs: jekyll: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - # Use GitHub Actions' cache to shorten build times and decrease load on servers - - uses: actions/cache@v1 - with: - path: vendor/bundle - key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} - restore-keys: | - ${{ runner.os }}-gems- - # Standard usage - - uses: lemonarc/jekyll-action@1.0.0 + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Pages + uses: actions/configure-pages@v5 + - name: Build + uses: actions/jekyll-build-pages@v1