This commit is contained in:
13
readme.md
13
readme.md
@@ -24,7 +24,7 @@ functions:
|
||||
image: registry.coadcorp.com/export-xlsx:1.0
|
||||
type: knative-workflow
|
||||
```
|
||||
#### Basic
|
||||
#### Rely on Direktiv to create input file
|
||||
```yaml
|
||||
- id: export-xlsx
|
||||
type: action
|
||||
@@ -38,6 +38,17 @@ functions:
|
||||
worksheet-name: "TestSpreadsheet"
|
||||
out-filename: example.xlsx
|
||||
```
|
||||
#### Use function to create input file
|
||||
```yaml
|
||||
- id: export-xlsx
|
||||
type: action
|
||||
action:
|
||||
function: export-xlsx
|
||||
input:
|
||||
worksheet-name: "TestSpreadsheet"
|
||||
out-filename: example.xlsx
|
||||
in-data: jq(.array | tostring)
|
||||
```
|
||||
|
||||
### Secrets
|
||||
|
||||
|
Reference in New Issue
Block a user