From ccc322a20bc26e82572b383a84a1003c96f44ff7 Mon Sep 17 00:00:00 2001 From: Johan Solbakken Date: Tue, 5 May 2026 12:20:22 +0200 Subject: [PATCH] Build jekyll for each PR --- .github/workflows/build-pages.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/build-pages.yml diff --git a/.github/workflows/build-pages.yml b/.github/workflows/build-pages.yml new file mode 100644 index 0000000000..3418f11b9a --- /dev/null +++ b/.github/workflows/build-pages.yml @@ -0,0 +1,29 @@ +name: Build Jekyll site (PR check) + +on: + pull_request: + workflow_dispatch: + +permissions: + contents: read + +concurrency: + group: build-pages-${{ github.ref }} + cancel-in-progress: true + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v6 + - name: Setup Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: "3.4.8" + bundler-cache: true + cache-version: 0 + - name: Build with Jekyll + run: bundle exec jekyll build + env: + JEKYLL_ENV: production