Skip to content

Commit 79d8432

Browse files
committed
.drone.yml: forget if/else, try simpler
1 parent b5f3344 commit 79d8432

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.drone.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
---
21
name: sleep-for-10s
32
kind: pipeline
43
type: docker
@@ -39,7 +38,7 @@ steps:
3938
"ref": "{{ build.branch }}",
4039
"inputs": {
4140
"github_sha": "{{ build.commit }}",
42-
"drone_succeeded": "{{ if eq build.status "success" }}true{{ else }}false{{ end }}"
41+
"drone_succeeded": {{ eq build.status `success` }}
4342
}
4443
}
4544
debug: true

0 commit comments

Comments
 (0)