Skip to content
Snippets Groups Projects
Commit 9e96188d authored by Christopher Krawietz's avatar Christopher Krawietz
Browse files

[TASK] — added Env variables for gitlab pages

parent 6ede9457
No related branches found
No related tags found
No related merge requests found
const { description } = require('../../package.json');
const { CI_PAGES_URL } = process.env;
const base = CI_PAGES_URL && new URL(CI_PAGES_URL).pathname;
module.exports = {
/**
* Ref:https://v1.vuepress.vuejs.org/config/#title
......@@ -9,11 +12,9 @@ module.exports = {
*/
description: description,
theme: 'nc-provider',
base: '/',
base: base,
dest: 'public',
publicPath: process.env.NODE_ENV === 'production' ? '/design-system.sh/' : '/',
/**
* Extra tags to be injected to the page HTML `<head>`
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment