Skip to content

Commit

Permalink
[SKIP CI] implicit include example
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Sheldon authored Nov 30, 2020
1 parent dce504b commit aeef7dc
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,22 @@ steps:
- README.md
```

Same as above, but with an implicit `include`:
```yaml
---
kind: pipeline
name: readme
steps:
- name: message
image: busybox
commands:
- echo "README.md was changed”
when:
paths:
- README.md
```

### `include` and `exclude`

Run a pipeline step when `.yml` files are changed in the root, except for `.drone.yml`:
Expand Down

0 comments on commit aeef7dc

Please sign in to comment.