Skip to content

Commit 4d88dab

Browse files
authored
Fix gh pages (#1355)
Signed-off-by: Gregor Zeitlinger <[email protected]>
1 parent c3f43d8 commit 4d88dab

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

.github/workflows/github-pages.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,13 @@ jobs:
3939
- uses: jdx/mise-action@c94f0bf9e520b150e34c017db785461f7e71c5fb # v2.1.1
4040
with:
4141
cache: "false"
42-
- name: Prepare GitHub Pages
43-
run: mise run prepare-gh-pages
4442
- name: Setup Pages
4543
id: pages
4644
uses: actions/configure-pages@v5
45+
- name: Prepare GitHub Pages
46+
run: mise run prepare-gh-pages
47+
env:
48+
BASE_URL: "${{ steps.pages.outputs.base_url }}/"
4749
- name: Build GitHub Pages
4850
run: mise run build-gh-pages
4951
- name: Upload artifact

RELEASING.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@
99
## If the GPG key expired
1010

1111
1. Generate a new key:
12-
<https://docs.github.com/en/authentication/managing-commit-signature-verification/generating-a-new-gpg-key#generating-a-gpg-key> <!-- editorconfig-checker-disable-line -->
13-
2. BUT use `gpg --armor --export-secret-keys YOUR_ID` to
12+
<https://central.sonatype.org/publish/requirements/gpg/#generating-a-key-pair>
13+
2. Distribute the
14+
key: <https://central.sonatype.org/publish/requirements/gpg/#distributing-your-public-key>
15+
3. use `gpg --armor --export-secret-keys YOUR_ID` to
1416
export ([docs](https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#gpg))
15-
3. Update the
17+
4. Update the
1618
passphrase: <https://github.com/prometheus/client_java/settings/secrets/actions/GPG_SIGNING_PASSPHRASE> <!-- editorconfig-checker-disable-line -->
17-
4. Update the GPG
19+
5. Update the GPG
1820
key: <https://github.com/prometheus/client_java/settings/secrets/actions/GPG_SIGNING_KEY>

docs/hugo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,7 @@ enableRobotsTXT = true
2828

2929
[taxonomies]
3030
tag = "tags"
31+
32+
[caches]
33+
[caches.images]
34+
dir = ':cacheDir/images'

0 commit comments

Comments
 (0)