diff --git a/.github/workflows/vuepress-deploy.yml b/.github/workflows/vuepress-deploy.yml index 57a035f..7acfe29 100644 --- a/.github/workflows/vuepress-deploy.yml +++ b/.github/workflows/vuepress-deploy.yml @@ -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/ diff --git a/docs/.vuepress/config.github.js b/docs/.vuepress/config.github.js new file mode 100644 index 0000000..80ed2c0 --- /dev/null +++ b/docs/.vuepress/config.github.js @@ -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, +})