Skip to content

Commit

Permalink
Keep in sync the versions of Hugo used in CI
Browse files Browse the repository at this point in the history
Signed-off-by: Kévin Commaille <[email protected]>
  • Loading branch information
zecakeh committed Oct 26, 2024
1 parent 03c743c commit 7dbb166
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
name: "Spec"

env:
# Cannot build the spec with Hugo 0.125.0 because of https://github.com/google/docsy/issues/1930
HUGO_VERSION: 0.124.1

on:
push:
branches:
Expand Down Expand Up @@ -193,7 +198,7 @@ jobs:
- name: "➕ Setup Hugo"
uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3.0.0
with:
hugo-version: '0.124.1'
hugo-version: ${{ env.HUGO_VERSION }}
extended: true
- name: "📥 Source checkout"
uses: actions/checkout@v4
Expand Down Expand Up @@ -270,8 +275,7 @@ jobs:
- name: "➕ Setup Hugo"
uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3.0.0
with:
# Cannot build the spec with Hugo 0.125.0 because of https://github.com/google/docsy/issues/1930
hugo-version: '0.124.1'
hugo-version: ${{ env.HUGO_VERSION }}
extended: true
- name: "📥 Source checkout"
uses: actions/checkout@v4
Expand Down

0 comments on commit 7dbb166

Please sign in to comment.