Skip to content

Commit

Permalink
ci: add nuxt studio env
Browse files Browse the repository at this point in the history
  • Loading branch information
stafyniaksacha committed Nov 30, 2023
1 parent 7956fd7 commit e7fb4b3
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 64 deletions.
8 changes: 3 additions & 5 deletions .blog/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,9 @@ export default defineNuxtConfig({
siteDescription: '',
language: 'en-US',
titleSeparator: '·',
// content: {
// // anchorLinks: {
// // depth: 6,
// // },
// },
studio: {
tokens: '',
},
},
},

Expand Down
41 changes: 12 additions & 29 deletions .cooking/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,34 +4,17 @@ export default defineNuxtConfig({
experimental: {
viewTransition: true,
},
// typescript: {
// shim: false,
// strict: true,
// includeWorkspace: true
// },

// content: {
// highlight: {
// preload: ['vue', 'vue-html', 'typescript', 'bash', 'diff', 'scss'],
// theme: {
// default: 'one-dark-pro',
// dark: 'one-dark-pro',
// },
// },
// },

// runtimeConfig: {
// public: {
// siteUrl: 'https://stylo.cssninja.io/',
// siteName: 'stylo',
// siteDescription: '',
// language: 'en-US',
// titleSeparator: '·',
// content: {
// anchorLinks: {
// depth: 6,
// },
// },
// },
// },
runtimeConfig: {
public: {
siteUrl: 'https://stylo-cooking.cssninja.io/',
siteName: 'Bakery',
siteDescription: '',
language: 'en-US',
titleSeparator: '·',
studio: {
tokens: '',
},
},
},
})
1 change: 1 addition & 0 deletions .github/env/demo-blog/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ services:
- cssninja-services
environment:
- NUXT_PUBLIC_FRONTEND_URL=https://stylo.${HOST:-127.0.0.1.nip.io}/
- NUXT_PUBLIC_STUDIO_TOKENS=${STUDIO_TOKENS}
labels:
traefik.enable: true
traefik.docker.network: 'cssninja-services'
Expand Down
1 change: 1 addition & 0 deletions .github/env/demo-cooking/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ services:
- cssninja-services
environment:
- NUXT_PUBLIC_FRONTEND_URL=https://stylo-cooking.${HOST:-127.0.0.1.nip.io}/
- NUXT_PUBLIC_STUDIO_TOKENS=${STUDIO_TOKENS}
labels:
traefik.enable: true
traefik.docker.network: 'cssninja-services'
Expand Down
1 change: 1 addition & 0 deletions .github/env/demo-starter/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ services:
- cssninja-services
environment:
- NUXT_PUBLIC_FRONTEND_URL=https://stylo-starter.${HOST:-127.0.0.1.nip.io}/
- NUXT_PUBLIC_STUDIO_TOKENS=${STUDIO_TOKENS}
labels:
traefik.enable: true
traefik.docker.network: 'cssninja-services'
Expand Down
42 changes: 12 additions & 30 deletions .starter/nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,34 +1,16 @@
export default defineNuxtConfig({
extends: '../',

// typescript: {
// shim: false,
// strict: true,
// includeWorkspace: true
// },

// content: {
// highlight: {
// preload: ['vue', 'vue-html', 'typescript', 'bash', 'diff', 'scss'],
// theme: {
// default: 'one-dark-pro',
// dark: 'one-dark-pro',
// },
// },
// },

// runtimeConfig: {
// public: {
// siteUrl: 'https://stylo.cssninja.io/',
// siteName: 'stylo',
// siteDescription: '',
// language: 'en-US',
// titleSeparator: '·',
// content: {
// anchorLinks: {
// depth: 6,
// },
// },
// },
// },
runtimeConfig: {
public: {
siteUrl: 'https://stylo-starter.cssninja.io/',
siteName: 'Stylô Starter',
siteDescription: '',
language: 'en-US',
titleSeparator: '·',
studio: {
tokens: '',
},
},
},
})

0 comments on commit e7fb4b3

Please sign in to comment.