This commit is contained in:
21
.drone.yml
21
.drone.yml
@ -60,27 +60,6 @@ steps:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: docker-socket
|
- name: docker-socket
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
- name: Discord Release 告知
|
|
||||||
image: appleboy/drone-discord
|
|
||||||
settings:
|
|
||||||
webhook_id:
|
|
||||||
from_secret: DISCORD-WEBHOOK-ID
|
|
||||||
webhook_token:
|
|
||||||
from_secret: DISCORD-WEBHOOK-TOKEN
|
|
||||||
username: DroneCI Release 告知
|
|
||||||
message: 构建成功!已经上传了 Docker 包:gitea.service.jazzwhom.top/Passthem/konabot:${DRONE_TAG}
|
|
||||||
- name: Discord Release 构建失败告知
|
|
||||||
image: appleboy/drone-discord
|
|
||||||
settings:
|
|
||||||
webhook_id:
|
|
||||||
from_secret: DISCORD-WEBHOOK-ID
|
|
||||||
webhook_token:
|
|
||||||
from_secret: DISCORD-WEBHOOK-TOKEN
|
|
||||||
username: DroneCI Release 构建失败告知
|
|
||||||
message: 构建失败了orz
|
|
||||||
when:
|
|
||||||
status:
|
|
||||||
- failure
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: docker-socket
|
- name: docker-socket
|
||||||
|
|||||||
Reference in New Issue
Block a user