define github specific config to deploy on a subpath and correc workflow

This commit is contained in:
Ulf Gebhardt 2023-11-06 14:44:30 +01:00
parent 0c9c350c0c
commit ec418041ec
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9
2 changed files with 12 additions and 2 deletions

View File

@ -18,6 +18,5 @@ jobs:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
TARGET_REPO: IT4Change/IT4C.dev
TARGET_BRANCH: gh-pages
BUILD_SCRIPT: npm install && npm run build-node16
BUILD_SCRIPT: npm install && npm run build-node16 -- --config docs/.vuepress/config github.js
BUILD_DIR: docs/.vuepress/dist
CNAME: https://it4change.github.io/IT4C.dev/

View File

@ -0,0 +1,11 @@
import { defineUserConfig } from 'vuepress'
import meta from './config/meta'
import theme from './config/theme'
import plugins from './config/plugins'
export default defineUserConfig({
base: "/IT4C.dev/",
...meta,
theme,
plugins,
})