diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index daa8fb67..446aca9c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -284,10 +284,11 @@ jobs: npm i npm run get-proposals - name: "⚙️ hugo" + env: + HUGO_PARAMS_VERSION_STATUS: "historical" # Create a baseURL like `/v1.2` out of the `v1.2` tag run: | - echo -e '[params.version]\nstatus="historical"' > historical.toml - hugo --config config.toml,historical.toml --baseURL "/${GITHUB_REF/refs\/tags\//}" -d "spec" + hugo --baseURL "/${GITHUB_REF/refs\/tags\//}" -d "spec" - name: "📥 Spec definition download" uses: actions/download-artifact@v4 diff --git a/changelogs/internal/newsfragments/2123.clarification b/changelogs/internal/newsfragments/2123.clarification new file mode 100644 index 00000000..af26abaf --- /dev/null +++ b/changelogs/internal/newsfragments/2123.clarification @@ -0,0 +1 @@ +Fix the historical info box when generating the historical spec in CI.