diff --git a/.github/workflows/vuepress-deploy.yml b/.github/workflows/vuepress-deploy.yml index 65d9aa2..cdc4936 100644 --- a/.github/workflows/vuepress-deploy.yml +++ b/.github/workflows/vuepress-deploy.yml @@ -19,6 +19,8 @@ jobs: - name: Build Vuepress Pages run: npm install && npm run build + env: + VUEPRESS_BASE: '/ocelot.social/' - name: Deploy Vuepress to Github Pages uses: crazy-max/ghaction-github-pages@v4 diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 722371c..e5b3229 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -7,23 +7,5 @@ export default defineUserConfig({ ...meta, theme, plugins, - base: '/ocelot.social/', - locales:{ - // The key is the path for the locale to be nested under. - // As a special case, the default locale can use '/' as its path. - '/en/': { - lang: 'en-US', // this will be set as the lang attribute on - title: 'Ocelot.Social', - // description: '' - }, - '/': { - lang: 'de-DE', - title: 'Ocelot.Social', - // description: '' - }, - '/fr/': { - lang: 'fr-FR', - title: 'Ocelot.Social', - } - } + base: process.env.VUEPRESS_BASE ?? '/', }) \ No newline at end of file