mirror of
https://github.com/IT4Change/IT4C.dev.git
synced 2025-12-13 09:25:49 +00:00
define github specific config to deploy on a subpath and correc workflow
This commit is contained in:
parent
0c9c350c0c
commit
ec418041ec
3
.github/workflows/vuepress-deploy.yml
vendored
3
.github/workflows/vuepress-deploy.yml
vendored
@ -18,6 +18,5 @@ jobs:
|
|||||||
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
||||||
TARGET_REPO: IT4Change/IT4C.dev
|
TARGET_REPO: IT4Change/IT4C.dev
|
||||||
TARGET_BRANCH: gh-pages
|
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
|
BUILD_DIR: docs/.vuepress/dist
|
||||||
CNAME: https://it4change.github.io/IT4C.dev/
|
|
||||||
|
|||||||
11
docs/.vuepress/config.github.js
Normal file
11
docs/.vuepress/config.github.js
Normal 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,
|
||||||
|
})
|
||||||
Loading…
x
Reference in New Issue
Block a user