File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -21,24 +21,25 @@ trigger:
21
21
---
22
22
kind : pipeline
23
23
type : docker
24
- name : trigger-github-workflow- on-droneci-success
24
+ name : on-droneci-complete
25
25
clone :
26
26
disable : true
27
27
steps :
28
- - name : trigger-gh
28
+ - name : trigger-github-workflow
29
29
image : plugins/webhook
30
30
settings :
31
31
urls :
32
- - https://api.github.com/repos/code-dot-org/code-dot-org /actions/workflows/on-droneci-complete.yml/dispatches
32
+ - https://api.github.com/repos/code-dot-org/test-workflow-dispatch /actions/workflows/on-droneci-complete.yml/dispatches
33
33
username : x-access-token
34
34
secrets :
35
- - source : github_token_on_droneci_success
35
+ - source : on-droneci-complete-github-token
36
36
target : webhook_password
37
37
template : |
38
38
{
39
39
"ref": "{{ build.branch }}",
40
40
"inputs": {
41
- "commit": "{{ build.commit }}"
41
+ "github_sha": "{{ build.commit }}",
42
+ "success": {{ if eq build.status "success" }}true{{ else }}false{{ end }}
42
43
}
43
44
}
44
45
debug : true
@@ -53,6 +54,6 @@ trigger:
53
54
- success
54
55
---
55
56
kind : signature
56
- hmac : 62f383ffbf004d67b5f6f8f2f892b50ff6120c476bbc8ad3db4ff5f2a186f8fe
57
+ hmac : a9c888391e4da9b529f7d6e0a190571859d335ce81f440cc85757cb8ed5b3ecd
57
58
58
59
...
You can’t perform that action at this time.
0 commit comments