Merge pull request #43 from Ocelot-Social-Community/wolle-change-base-config-code

chore(workflow): change base config code and add `CNAME` file content
This commit is contained in:
Hannes Heine 2023-12-14 14:52:16 +01:00 committed by GitHub
commit 30d060f779
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -27,5 +27,7 @@ jobs:
with: with:
target_branch: gh-pages target_branch: gh-pages
build_dir: docs/.vuepress/dist build_dir: docs/.vuepress/dist
author: Wolfgang Huß <vorstand@busfaktor.org>
fqdn: ocelot.social
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -7,7 +7,7 @@ export default defineUserConfig({
...meta, ...meta,
theme, theme,
plugins, plugins,
base: process.env.VUEPRESS_BASE ?? '/', base: process.env.VUEPRESS_BASE ? `/${process.env.VUEPRESS_BASE}/` : '/',
locales:{ locales:{
// The key is the path for the locale to be nested under. // The key is the path for the locale to be nested under.
// As a special case, the default locale can use '/' as its path. // As a special case, the default locale can use '/' as its path.