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
8181
8282component : website # (必填) 引用 component 的名称,当前用到的是 tencent-website 组件
8383name : websitedemo # (必填) 该 website 组件创建的实例名称
84- org : test # (可选) 用于记录组织信息,默认值为您的腾讯云账户 appid
8584app : websiteApp # (可选) 该 website 应用名称
8685stage : dev # (可选) 用于区分环境信息,默认值是 dev
8786
Original file line number Diff line number Diff line change @@ -21,13 +21,13 @@ inputs:
2121 region : ap-guangzhou
2222 bucketName : my-bucket
2323 protocol : http
24- replace : false # 是否替换式部署
24+ replace : false # 是否覆盖式部署
2525 hosts :
2626 - host : abc.com
27- async : true
27+ async : false # 是否同步等待 CDN 配置。配置为 false 时,参数 autoRefresh 自动刷新才会生效,如果关联多域名时,为防止超时建议配置为 true。
2828 area : mainland
29- autoRefresh : true
30- onlyRefresh : false
29+ autoRefresh : true # 开启自动 CDN 刷新,用于快速更新和同步加速域名中展示的站点内容
30+ onlyRefresh : false # 建议首次部署后,将此参数配置为 true,即忽略其他 CDN 配置,只进行刷新操作
3131 https :
3232 switch : on
3333 http2 : on
You can’t perform that action at this time.
0 commit comments