@@ -4,8 +4,7 @@ clone:
depth: 1
steps:
-# 依赖安装、打包
-- name: build
+- name: 打包
image: reg.weipaitang.com/drone-plugin/yarn
volumes:
- name: cache
@@ -14,16 +13,14 @@ steps:
- yarn
- yarn build
-# 部署
-- name: deploy
+- name: 部署
image: reg.weipaitang.com/drone-plugin/ansible
pull: always
path: /drone/src/dist
-# 成功通知
-- name: notify-success
+- name: 成功通知
image: reg.weipaitang.com/drone-plugin/ding-talk
settings:
@@ -34,8 +31,7 @@ steps:
when:
status: success
-# 失败通知
-- name: notify-failure
+- name: 失败通知