Clean up syntax errors in notify json .drone.yml
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Garrett Mills 2020-10-28 11:40:03 -05:00
parent 8155df25e5
commit 1a7fe37b67
Signed by: garrettmills
GPG Key ID: D2BF5FBA8298F246

View File

@ -96,7 +96,7 @@ steps:
target: production target: production
# =============== BUILD NOTIFICATIONS =============== # =============== BUILD NOTIFICATIONS ===============
- name: send buile success notifications - name: send build success notifications
image: plugins/webhook image: plugins/webhook
settings: settings:
urls: urls:
@ -105,7 +105,7 @@ steps:
template: | template: |
{ {
"title": "Drone-CI [noded-frontend @ ${DRONE_BUILD_NUMBER}]", "title": "Drone-CI [noded-frontend @ ${DRONE_BUILD_NUMBER}]",
"message": "Build completed successfully. (Changes by ${DRONE_COMMIT_AUTHOR}: ${DRONE_COMMIT_MESSAGE})", "message": "Build completed successfully. (Changes by ${DRONE_COMMIT_AUTHOR})",
"priority": 4 "priority": 4
} }
when: when:
@ -122,7 +122,7 @@ steps:
template: | template: |
{ {
"title": "Drone-CI [noded-frontend @ ${DRONE_BUILD_NUMBER}]", "title": "Drone-CI [noded-frontend @ ${DRONE_BUILD_NUMBER}]",
"message": "Build failed! (Changes by ${DRONE_COMMIT_AUTHOR}: ${DRONE_COMMIT_MESSAGE})", "message": "Build failed! (Changes by ${DRONE_COMMIT_AUTHOR})",
"priority": 6 "priority": 6
} }
when: when:
@ -141,7 +141,7 @@ steps:
template: | template: |
{ {
"title": "Drone-Deploy [noded-frontend @ ${DRONE_BUILD_NUMBER} to ${DRONE_DEPLOY_TO}]", "title": "Drone-Deploy [noded-frontend @ ${DRONE_BUILD_NUMBER} to ${DRONE_DEPLOY_TO}]",
"message": "Deployment completed successfully. (Changes by ${DRONE_COMMIT_AUTHOR}: ${DRONE_COMMIT_MESSAGE})", "message": "Deployment completed successfully. (Changes by ${DRONE_COMMIT_AUTHOR})",
"priority": 4 "priority": 4
} }
when: when:
@ -157,7 +157,7 @@ steps:
template: | template: |
{ {
"title": "Drone-Deploy [noded-frontend @ ${DRONE_BUILD_NUMBER} to ${DRONE_DEPLOY_TO}]", "title": "Drone-Deploy [noded-frontend @ ${DRONE_BUILD_NUMBER} to ${DRONE_DEPLOY_TO}]",
"message": "Deployment failed! (Changes by ${DRONE_COMMIT_AUTHOR}: ${DRONE_COMMIT_MESSAGE})", "message": "Deployment failed! (Changes by ${DRONE_COMMIT_AUTHOR})",
"priority": 6 "priority": 6
} }
when: when: