From a10cec4d2299d021567ca1794adb17ec4bda7563 Mon Sep 17 00:00:00 2001 From: "Nelo-T. Wallus" Date: Fri, 22 Aug 2025 14:23:38 +0200 Subject: [PATCH 1/2] Set empty base on main Signed-off-by: Nelo-T. Wallus Signed-off-by: Nelo-T. Wallus --- .vitepress/config.mts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vitepress/config.mts b/.vitepress/config.mts index e7ba318..c743fd0 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -8,7 +8,7 @@ export default withMermaid({ ['link', { rel: 'icon', href: '/favicon.ico' }] ], - base: process.env.PAGES_BASE ? '/' + process.env.PAGES_BASE : '/', + base: process.env.PAGES_BASE ? '/' + process.env.PAGES_BASE : '', description: "Platform Mesh - Building upon the Kubernetes API & Resource Model", From 0bc4ec4165e48f15b12659e3dff8600a1e01a7c3 Mon Sep 17 00:00:00 2001 From: "Nelo-T. Wallus" Date: Fri, 22 Aug 2025 14:31:42 +0200 Subject: [PATCH 2/2] Use token that can push to gh-pages and comment on PRs Signed-off-by: Nelo-T. Wallus Signed-off-by: Nelo-T. Wallus --- .github/workflows/pages.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pages.yaml b/.github/workflows/pages.yaml index ea11b29..fd99ce3 100644 --- a/.github/workflows/pages.yaml +++ b/.github/workflows/pages.yaml @@ -59,6 +59,7 @@ jobs: if: ${{ github.event_name == 'pull_request' }} with: source-dir: .vitepress/dist + token: ${{ secrets.PM_PUBLISH_TOKEN }} # deploy the build to GitHub Pages - uses: JamesIves/github-pages-deploy-action@6c2d9db40f9296374acc17b90404b6e8864128c8 # v4