-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsanity-template.json
72 lines (72 loc) · 1.84 KB
/
sanity-template.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"version": 0,
"title": "Kitchen Sink",
"description": "Our ever-evolving feature-rich demonstration studio.",
"previewMedia": {
"type": "image",
"src": "assets/frontend.png",
"alt": "A screenshot of the example Gatsby frontend"
},
"technologies": [{
"id": "gatsby",
"name": "Gatsby",
"url": "https://www.gatsbyjs.org/"
},
{
"id": "netlify",
"name": "Netlify",
"url": "https://www.netlify.com/"
}
],
"deployments": [{
"id": "studio",
"type": "studio",
"title": "Sanity Studio",
"description": "The Sanity Studio is where you edit and structure your content.",
"dir": "./studio",
"provider": {
"name": "netlify",
"config": {
"base": "/",
"dir": "/studio/dist",
"cmd": "npm run build-studio && cp studio/netlify.toml studio/dist"
},
"requirements": ["build-hook"]
},
"previewMedia": {
"type": "image",
"src": "assets/studio.png",
"alt": "A preview image of the Sanity Studio."
}
},
{
"id": "web",
"type": "web",
"title": "Marketing Website",
"description": "A simple frontend showcasing page building and a blog.",
"dir": "./web",
"requiredTokens": [{
"role": "deploy-studio",
"label": "GraphQL API Deployer"
}],
"provider": {
"name": "netlify",
"config": {
"base": "/",
"dir": "/web/public",
"cmd": "npm run build-web"
},
"requirements": ["build-hook"]
},
"previewMedia": {
"type": "image",
"src": "assets/frontend.png",
"alt": "A preview image of the frontend"
},
"requiredCorsOrigins": [{
"origin": "http://localhost:8000",
"allowCredentials": false
}]
}
]
}