File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,6 @@ $ serverless deploy
81
81
82
82
component : website # (必填) 引用 component 的名称,当前用到的是 tencent-website 组件
83
83
name : websitedemo # (必填) 该 website 组件创建的实例名称
84
- org : test # (可选) 用于记录组织信息,默认值为您的腾讯云账户 appid
85
84
app : websiteApp # (可选) 该 website 应用名称
86
85
stage : dev # (可选) 用于区分环境信息,默认值是 dev
87
86
Original file line number Diff line number Diff line change @@ -21,13 +21,13 @@ inputs:
21
21
region : ap-guangzhou
22
22
bucketName : my-bucket
23
23
protocol : http
24
- replace : false # 是否替换式部署
24
+ replace : false # 是否覆盖式部署
25
25
hosts :
26
26
- host : abc.com
27
- async : true
27
+ async : false # 是否同步等待 CDN 配置。配置为 false 时,参数 autoRefresh 自动刷新才会生效,如果关联多域名时,为防止超时建议配置为 true。
28
28
area : mainland
29
- autoRefresh : true
30
- onlyRefresh : false
29
+ autoRefresh : true # 开启自动 CDN 刷新,用于快速更新和同步加速域名中展示的站点内容
30
+ onlyRefresh : false # 建议首次部署后,将此参数配置为 true,即忽略其他 CDN 配置,只进行刷新操作
31
31
https :
32
32
switch : on
33
33
http2 : on
You can’t perform that action at this time.
0 commit comments