From 2892d82bfa1a82abc6b3b254618c9d523c7d3a06 Mon Sep 17 00:00:00 2001 From: Gregor Zeitlinger Date: Thu, 15 May 2025 13:06:47 +0200 Subject: [PATCH 1/3] release docs Signed-off-by: Gregor Zeitlinger --- RELEASING.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/RELEASING.md b/RELEASING.md index 898d7b7e4..bb13ef5a8 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -9,10 +9,12 @@ ## If the GPG key expired 1. Generate a new key: - -2. BUT use `gpg --armor --export-secret-keys YOUR_ID` to + +2. Distribute the + key: https://central.sonatype.org/publish/requirements/gpg/#distributing-your-public-key +3. use `gpg --armor --export-secret-keys YOUR_ID` to export ([docs](https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#gpg)) -3. Update the +4. Update the passphrase: -4. Update the GPG +5. Update the GPG key: From 5a322cc0ed4d1561a3f0558fff64ab1c8af5f9c8 Mon Sep 17 00:00:00 2001 From: Gregor Zeitlinger Date: Thu, 15 May 2025 13:28:40 +0200 Subject: [PATCH 2/3] fix gh pages Signed-off-by: Gregor Zeitlinger --- .github/workflows/github-pages.yaml | 2 ++ docs/hugo.toml | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/github-pages.yaml b/.github/workflows/github-pages.yaml index d92111208..6d790fbaa 100644 --- a/.github/workflows/github-pages.yaml +++ b/.github/workflows/github-pages.yaml @@ -41,6 +41,8 @@ jobs: cache: "false" - name: Prepare GitHub Pages run: mise run prepare-gh-pages + env: + BASE_URL: "${{ steps.pages.outputs.base_url }}/" - name: Setup Pages id: pages uses: actions/configure-pages@v5 diff --git a/docs/hugo.toml b/docs/hugo.toml index b453bcd2a..b558774ec 100644 --- a/docs/hugo.toml +++ b/docs/hugo.toml @@ -28,3 +28,7 @@ enableRobotsTXT = true [taxonomies] tag = "tags" + +[caches] + [caches.images] + dir = ':cacheDir/images' From 5175dc673f3a922d72fbd99cf595a00795519425 Mon Sep 17 00:00:00 2001 From: Gregor Zeitlinger Date: Thu, 15 May 2025 13:43:53 +0200 Subject: [PATCH 3/3] fix gh pages Signed-off-by: Gregor Zeitlinger --- .github/workflows/github-pages.yaml | 6 +++--- RELEASING.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/github-pages.yaml b/.github/workflows/github-pages.yaml index 6d790fbaa..cbef5eb62 100644 --- a/.github/workflows/github-pages.yaml +++ b/.github/workflows/github-pages.yaml @@ -39,13 +39,13 @@ jobs: - uses: jdx/mise-action@c94f0bf9e520b150e34c017db785461f7e71c5fb # v2.1.1 with: cache: "false" + - name: Setup Pages + id: pages + uses: actions/configure-pages@v5 - name: Prepare GitHub Pages run: mise run prepare-gh-pages env: BASE_URL: "${{ steps.pages.outputs.base_url }}/" - - name: Setup Pages - id: pages - uses: actions/configure-pages@v5 - name: Build GitHub Pages run: mise run build-gh-pages - name: Upload artifact diff --git a/RELEASING.md b/RELEASING.md index bb13ef5a8..d98ae94b1 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -11,7 +11,7 @@ 1. Generate a new key: 2. Distribute the - key: https://central.sonatype.org/publish/requirements/gpg/#distributing-your-public-key + key: 3. use `gpg --armor --export-secret-keys YOUR_ID` to export ([docs](https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#gpg)) 4. Update the