add depends_on; modify task name
This commit is contained in:
parent
0e73abc19d
commit
5bdb1a3e56
@ -21,7 +21,7 @@ steps:
|
|||||||
branch:
|
branch:
|
||||||
- development
|
- development
|
||||||
|
|
||||||
- name: Can we post back to the PR
|
- name: Add comment to pull request
|
||||||
image: gitea.thezengarden.net/podman/images/ansible-dev:latest
|
image: gitea.thezengarden.net/podman/images/ansible-dev:latest
|
||||||
environment:
|
environment:
|
||||||
GITEA_TOKEN:
|
GITEA_TOKEN:
|
||||||
@ -31,6 +31,8 @@ steps:
|
|||||||
-H "Content-type: application/json" \
|
-H "Content-type: application/json" \
|
||||||
https://gitea.thezengarden.net/api/v1/repos/${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}/issues/${DRONE_PULL_REQUEST}/comments \
|
https://gitea.thezengarden.net/api/v1/repos/${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}/issues/${DRONE_PULL_REQUEST}/comments \
|
||||||
-d "{\"body\": \"Build complete and successful for $DRONE_REPO_NAME\"}"'
|
-d "{\"body\": \"Build complete and successful for $DRONE_REPO_NAME\"}"'
|
||||||
|
depends_on:
|
||||||
|
- "Testing Drone CI with a simple Ansible Playbook"
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- pull_request
|
- pull_request
|
||||||
|
Loading…
x
Reference in New Issue
Block a user