Skip to content

Commit

Permalink
Fix output/input resource issue in docs.
Browse files Browse the repository at this point in the history
The docs had task output/resources swapped in a few places. This
corrects them, and fixes #1458
  • Loading branch information
dlorenc authored and tekton-robot committed Oct 29, 2019
1 parent 1921344 commit 3404f6e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions docs/tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,8 @@ next Task is expected to be present under the path
`/workspace/output/resource_name/`.

```yaml
resources:
outputs:
outputs:
resources:
name: storage-gcs
type: gcs
steps:
Expand All @@ -325,11 +325,12 @@ directory. After execution of the Task steps, (new) tar file in directory
`tar-artifact` resource definition.

```yaml
resources:
inputs:
inputs:
resources:
name: tar-artifact
targetPath: customworkspace
outputs:
outputs:
resources:
name: tar-artifact
steps:
- name: untar
Expand Down

0 comments on commit 3404f6e

Please sign in to comment.