docs: add type: python to workflow examples
This commit is contained in:
@@ -36,6 +36,7 @@ base_image: gis-base:latest
|
|||||||
steps:
|
steps:
|
||||||
- id: step1
|
- id: step1
|
||||||
name: 步骤1
|
name: 步骤1
|
||||||
|
type: python
|
||||||
script_id: run
|
script_id: run
|
||||||
params:
|
params:
|
||||||
input: $params.input_path
|
input: $params.input_path
|
||||||
@@ -53,8 +54,10 @@ steps:
|
|||||||
```yaml
|
```yaml
|
||||||
steps:
|
steps:
|
||||||
- id: step1
|
- id: step1
|
||||||
|
type: python
|
||||||
script_id: analyze
|
script_id: analyze
|
||||||
- id: step2
|
- id: step2
|
||||||
|
type: python
|
||||||
script_id: report
|
script_id: report
|
||||||
depends_on: [step1] # step2 等 step1 完成后才执行
|
depends_on: [step1] # step2 等 step1 完成后才执行
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user