Skip to content

Commit

Permalink
fix: support ignoreTriggers option
Browse files Browse the repository at this point in the history
  • Loading branch information
yugasun committed May 13, 2021
1 parent 68e5f36 commit 50590cf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docs/configure.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ inputs:
tags: #标签配置
key1: value1
key2: value2 # tags 的key value
ignoreTriggers: false # 是否忽略触发器部署
events: # 触发器
- timer: # 定时触发器
parameters:
Expand Down Expand Up @@ -215,6 +216,7 @@ inputs:
| installDependency | 否 | boolean | `false` | 是否自动在线安装依赖 |
| tags | 否 | | | 标签设置。可设置多对 key-value 的键值对 |
| cfs | 否 | [Cfs](#Cfs) | | 文件系统挂载配置,用于云函数挂载文件系统。配置参数参考[文件系统](#文件系统)。 |
| ignoreTriggers | 否 | boolean | `false` | 是否忽略触发器,如果设置为 `true`,`events` 参数将不起作用,组件将至更新函数配置和代码 |
| events | 否 | [Event](#Event)[] | | 触发器配置 |

**重要字段说明**
Expand Down
2 changes: 1 addition & 1 deletion serverless.component.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: scf
version: 0.6.3
version: 0.6.4
author: Tencent Cloud, Inc.
org: Tencent Cloud, Inc.
description: Deploy a serverless cloud function on Tencent Cloud.
Expand Down
2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"dependencies": {
"download": "^8.0.0",
"tencent-component-toolkit": "^2.9.6",
"tencent-component-toolkit": "^2.9.8",
"type": "^2.0.0"
}
}

0 comments on commit 50590cf

Please sign in to comment.