Skip to content

Commit 0a2c77f

Browse files
committed
try using new drone secret syntax
1 parent 8b54c56 commit 0a2c77f

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.drone.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@ steps:
1616
urls:
1717
- https://api.github.com/repos/code-dot-org/test-workflow-dispatch/actions/workflows/on-droneci-complete.yml/dispatches
1818
username: x-access-token
19-
secrets:
20-
- source: on-droneci-complete-github-token
21-
target: webhook_password
19+
password:
20+
from_secret: on-droneci-complete-github-token
21+
# secrets:
22+
# - source: on-droneci-complete-github-token
23+
# target: webhook_password
2224
content_type: application/json
2325
template: |
2426
{
@@ -37,6 +39,6 @@ trigger:
3739
- pull_request
3840
---
3941
kind: signature
40-
hmac: 52eb4a39f30b611ecc75ad2636322ff338d904ede0f4ae6f09b6d033cbcf6aee
42+
hmac: a2f6c1da8f148ba1662efa0924bae18ab2ec9504f83808ae6fb6544584e286ee
4143

4244
...

0 commit comments

Comments
 (0)