Skip to content

Commit d9f07e1

Browse files
committed
.drone.yml: update with new names
1 parent aa75cec commit d9f07e1

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.drone.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,24 +21,25 @@ trigger:
2121
---
2222
kind: pipeline
2323
type: docker
24-
name: trigger-github-workflow-on-droneci-success
24+
name: on-droneci-complete
2525
clone:
2626
disable: true
2727
steps:
28-
- name: trigger-gh
28+
- name: trigger-github-workflow
2929
image: plugins/webhook
3030
settings:
3131
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
3333
username: x-access-token
3434
secrets:
35-
- source: github_token_on_droneci_success
35+
- source: on-droneci-complete-github-token
3636
target: webhook_password
3737
template: |
3838
{
3939
"ref": "{{ build.branch }}",
4040
"inputs": {
41-
"commit": "{{ build.commit }}"
41+
"github_sha": "{{ build.commit }}",
42+
"success": {{ if eq build.status "success" }}true{{ else }}false{{ end }}
4243
}
4344
}
4445
debug: true
@@ -53,6 +54,6 @@ trigger:
5354
- success
5455
---
5556
kind: signature
56-
hmac: 62f383ffbf004d67b5f6f8f2f892b50ff6120c476bbc8ad3db4ff5f2a186f8fe
57+
hmac: a9c888391e4da9b529f7d6e0a190571859d335ce81f440cc85757cb8ed5b3ecd
5758

5859
...

0 commit comments

Comments
 (0)