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 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",