Skip to content

Commit e7fb4b3

Browse files
ci: add nuxt studio env
1 parent 7956fd7 commit e7fb4b3

File tree

6 files changed

+30
-64
lines changed

6 files changed

+30
-64
lines changed

.blog/nuxt.config.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,9 @@ export default defineNuxtConfig({
2424
siteDescription: '',
2525
language: 'en-US',
2626
titleSeparator: '·',
27-
// content: {
28-
// // anchorLinks: {
29-
// // depth: 6,
30-
// // },
31-
// },
27+
studio: {
28+
tokens: '',
29+
},
3230
},
3331
},
3432

.cooking/nuxt.config.ts

Lines changed: 12 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,17 @@ export default defineNuxtConfig({
44
experimental: {
55
viewTransition: true,
66
},
7-
// typescript: {
8-
// shim: false,
9-
// strict: true,
10-
// includeWorkspace: true
11-
// },
127

13-
// content: {
14-
// highlight: {
15-
// preload: ['vue', 'vue-html', 'typescript', 'bash', 'diff', 'scss'],
16-
// theme: {
17-
// default: 'one-dark-pro',
18-
// dark: 'one-dark-pro',
19-
// },
20-
// },
21-
// },
22-
23-
// runtimeConfig: {
24-
// public: {
25-
// siteUrl: 'https://stylo.cssninja.io/',
26-
// siteName: 'stylo',
27-
// siteDescription: '',
28-
// language: 'en-US',
29-
// titleSeparator: '·',
30-
// content: {
31-
// anchorLinks: {
32-
// depth: 6,
33-
// },
34-
// },
35-
// },
36-
// },
8+
runtimeConfig: {
9+
public: {
10+
siteUrl: 'https://stylo-cooking.cssninja.io/',
11+
siteName: 'Bakery',
12+
siteDescription: '',
13+
language: 'en-US',
14+
titleSeparator: '·',
15+
studio: {
16+
tokens: '',
17+
},
18+
},
19+
},
3720
})

.github/env/demo-blog/docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ services:
1212
- cssninja-services
1313
environment:
1414
- NUXT_PUBLIC_FRONTEND_URL=https://stylo.${HOST:-127.0.0.1.nip.io}/
15+
- NUXT_PUBLIC_STUDIO_TOKENS=${STUDIO_TOKENS}
1516
labels:
1617
traefik.enable: true
1718
traefik.docker.network: 'cssninja-services'

.github/env/demo-cooking/docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ services:
1212
- cssninja-services
1313
environment:
1414
- NUXT_PUBLIC_FRONTEND_URL=https://stylo-cooking.${HOST:-127.0.0.1.nip.io}/
15+
- NUXT_PUBLIC_STUDIO_TOKENS=${STUDIO_TOKENS}
1516
labels:
1617
traefik.enable: true
1718
traefik.docker.network: 'cssninja-services'

.github/env/demo-starter/docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ services:
1212
- cssninja-services
1313
environment:
1414
- NUXT_PUBLIC_FRONTEND_URL=https://stylo-starter.${HOST:-127.0.0.1.nip.io}/
15+
- NUXT_PUBLIC_STUDIO_TOKENS=${STUDIO_TOKENS}
1516
labels:
1617
traefik.enable: true
1718
traefik.docker.network: 'cssninja-services'

.starter/nuxt.config.ts

Lines changed: 12 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,16 @@
11
export default defineNuxtConfig({
22
extends: '../',
3-
4-
// typescript: {
5-
// shim: false,
6-
// strict: true,
7-
// includeWorkspace: true
8-
// },
93

10-
// content: {
11-
// highlight: {
12-
// preload: ['vue', 'vue-html', 'typescript', 'bash', 'diff', 'scss'],
13-
// theme: {
14-
// default: 'one-dark-pro',
15-
// dark: 'one-dark-pro',
16-
// },
17-
// },
18-
// },
19-
20-
// runtimeConfig: {
21-
// public: {
22-
// siteUrl: 'https://stylo.cssninja.io/',
23-
// siteName: 'stylo',
24-
// siteDescription: '',
25-
// language: 'en-US',
26-
// titleSeparator: '·',
27-
// content: {
28-
// anchorLinks: {
29-
// depth: 6,
30-
// },
31-
// },
32-
// },
33-
// },
4+
runtimeConfig: {
5+
public: {
6+
siteUrl: 'https://stylo-starter.cssninja.io/',
7+
siteName: 'Stylô Starter',
8+
siteDescription: '',
9+
language: 'en-US',
10+
titleSeparator: '·',
11+
studio: {
12+
tokens: '',
13+
},
14+
},
15+
},
3416
})

0 commit comments

Comments
 (0)