We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa4f2b6 commit 28efb3bCopy full SHA for 28efb3b
.drone.yml
@@ -1,11 +1,14 @@
1
----
2
-
3
kind: pipeline
4
type: docker
5
name: on-droneci-complete
6
clone:
7
disable: true
8
steps:
+ - name: print-build-status
+ image: alpine
9
+ commands:
10
+ - echo "DRONE_BUILD_STATUS=$DRONE_BUILD_STATUS"
11
+
12
- name: trigger-github-actions
13
image: plugins/webhook
14
settings:
@@ -15,12 +18,13 @@ steps:
15
18
secrets:
16
19
- source: on-droneci-complete-github-token
17
20
target: webhook_password
21
+ content_type: application/json
22
template: |
23
{
24
"ref": "{{ build.branch }}",
25
"inputs": {
26
"github_sha": "{{ build.commit }}",
- "drone_build_status": {{ freq .build.status "success" }}
27
+ "drone_build_status": "{{ build.status }}",
28
}
29
30
debug: true
0 commit comments