Skip to content

Commit f2b0ed8

Browse files
committed
use ${DRONE_SOURCE_BRANCH} for the ref
1 parent f111ffa commit f2b0ed8

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.drone.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,14 @@ steps:
1313
username: deploy-code-org
1414
password:
1515
from_secret: on-droneci-complete-github-token
16-
16+
template: |
17+
{
18+
"ref": "${DRONE_SOURCE_BRANCH}",
19+
"inputs": {
20+
"github_sha": "{{ build.commit }}",
21+
"drone_build_status": "{{ build.status }}"
22+
}
23+
}
1724
debug: true
1825
# depends_on:
1926
# - unit

0 commit comments

Comments
 (0)