Remove discord
This commit is contained in:
parent
1d240c5c46
commit
19291b434a
31
.drone.yml
31
.drone.yml
@ -3,22 +3,6 @@ type: docker
|
|||||||
name: default
|
name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Pipeline started discord notification
|
|
||||||
image: appleboy/drone-discord
|
|
||||||
settings:
|
|
||||||
webhook_id:
|
|
||||||
from_secret: discord_webhook_id
|
|
||||||
webhook_token:
|
|
||||||
from_secret: discord_webhook_token
|
|
||||||
avatar_url: https://miro.medium.com/v2/resize:fit:1358/0*AqO_2lNemh_Fl9Gm.png
|
|
||||||
message: "Pipeline ${DRONE_BUILD_NUMBER} has started\nhttp://192.168.2.6/ldooks/dragon-bot/${DRONE_BUILD_NUMBER}"
|
|
||||||
trigger:
|
|
||||||
branch:
|
|
||||||
- master
|
|
||||||
event:
|
|
||||||
- push
|
|
||||||
|
|
||||||
|
|
||||||
- name: lint-python
|
- name: lint-python
|
||||||
image: python:3.10-slim
|
image: python:3.10-slim
|
||||||
commands:
|
commands:
|
||||||
@ -61,18 +45,3 @@ steps:
|
|||||||
- master
|
- master
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
|
||||||
- name: Pipeline Completed discord notification
|
|
||||||
image: appleboy/drone-discord
|
|
||||||
settings:
|
|
||||||
webhook_id:
|
|
||||||
from_secret: discord_webhook_id
|
|
||||||
webhook_token:
|
|
||||||
from_secret: discord_webhook_token
|
|
||||||
avatar_url: https://miro.medium.com/v2/resize:fit:1358/0*AqO_2lNemh_Fl9Gm.png
|
|
||||||
message: "Pipeline ${DRONE_BUILD_NUMBER} has succeeded\nhttp://192.168.2.6/ldooks/dragon-bot/${DRONE_BUILD_NUMBER} ✅"
|
|
||||||
trigger:
|
|
||||||
branch:
|
|
||||||
- master
|
|
||||||
event:
|
|
||||||
- push
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user