-
Notifications
You must be signed in to change notification settings - Fork 3
/
cloudbaserc.json
59 lines (59 loc) · 1.47 KB
/
cloudbaserc.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
{
"version": "2.0",
"envId": "{{env.ENV_ID}}",
"$schema": "https://framework-1258016615.tcloudbaseapp.com/schema/latest.json",
"framework": {
"name": "lucky-bilibili",
"plugins": {
"react": {
"use": "@cloudbase/framework-plugin-website",
"inputs": {
"installCommand": "echo 'Skip Install'",
"buildCommand": "echo 'npm run build'",
"outputPath": "build",
"cloudPath": "{{env.deployPath}}",
"ignore": [
".git",
".github",
"node_modules",
"cloudbaserc.js"
],
"envVariables": {
"HTTP_REQ_URL": "{{env.httpReqUrl}}",
"ENV_ID": "{{env.ENV_ID}}"
}
}
},
"function": {
"use": "@cloudbase/framework-plugin-function",
"inputs": {
"functionRoot": "functions",
"functions": [
{
"name": "catch-vlog",
"timeout": 60,
"installDependency": true,
"handler": "index.main",
"aclRule": {
"invoke": true
}
}
]
}
}
},
"requirement": {
"environment": {
"deployPath": {
"description": "部署路径",
"required": true,
"default": "/lucky-bilibili/"
},
"httpReqUrl": {
"description": "HTTP访问域名",
"required": true
}
}
}
}
}