Merge pull request #20 from IT4Change/docs-base

fix(workflow): docs base configurable
This commit is contained in:
Ulf Gebhardt 2023-11-30 10:07:49 +01:00 committed by GitHub
commit e0f08c64d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -18,3 +18,4 @@ jobs:
#TARGET_BRANCH: master #TARGET_BRANCH: master
BUILD_SCRIPT: npm install && npm run docs:build BUILD_SCRIPT: npm install && npm run docs:build
BUILD_DIR: build/docs/ BUILD_DIR: build/docs/
VUEPRESS_BASE: "/boilerplate-frontend/"

View File

@ -4,5 +4,5 @@ export default defineUserConfig({
title: 'IT4C Frontend Boilerplate Documentation', title: 'IT4C Frontend Boilerplate Documentation',
description: 'IT4C Frontend Boilerplate Documentation', description: 'IT4C Frontend Boilerplate Documentation',
dest: 'build/docs', dest: 'build/docs',
base: '/boilerplate-frontend/', base: process.env.VUEPRESS_BASE ?? '/',
}) })