diff --git a/.github/workflows/github-pages.yaml b/.github/workflows/github-pages.yaml index d92111208..cbef5eb62 100644 --- a/.github/workflows/github-pages.yaml +++ b/.github/workflows/github-pages.yaml @@ -39,11 +39,13 @@ jobs: - uses: jdx/mise-action@c94f0bf9e520b150e34c017db785461f7e71c5fb # v2.1.1 with: cache: "false" - - name: Prepare GitHub Pages - run: mise run prepare-gh-pages - 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: Build GitHub Pages run: mise run build-gh-pages - name: Upload artifact diff --git a/RELEASING.md b/RELEASING.md index 898d7b7e4..d98ae94b1 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: +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: 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'