From bac2f1990597cfc3bf319f04b2184a0389efc6a2 Mon Sep 17 00:00:00 2001 From: "Mike A." Date: Sun, 4 May 2025 16:13:30 +0200 Subject: [PATCH] Fix build workflow --- .github/workflows/build.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ee32897..f3ba954 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,13 +6,16 @@ on: branches: - "*" +permissions: + pages: write + id-token: write + jobs: build: name: Build runs-on: ubuntu-latest - permissions: - pages: write - id-token: write + env: + HUGO_VERSION: 0.145.0 strategy: fail-fast: true outputs: @@ -20,6 +23,10 @@ jobs: steps: - name: Checkout Source uses: actions/checkout@v4 + - name: Install Hugo CLI + run: | + wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \ + && sudo dpkg -i ${{ runner.temp }}/hugo.deb - name: Install Node 20 uses: actions/setup-node@v4 with: