ソースを参照

🎗修改发布文件

姜伯洋 5 年 前
コミット
a56e93e531
1 ファイル変更4 行追加8 行削除
  1. 4 8
      .drone.yml

+ 4 - 8
.drone.yml

@@ -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
   volumes:
   - name: cache
     path: /drone/src/dist
 
-# 成功通知
-- name: notify-success
+- name: 成功通知
   image: reg.weipaitang.com/drone-plugin/ding-talk
   pull: always
   settings:
@@ -34,8 +31,7 @@ steps:
   when:
     status: success
 
-# 失败通知
-- name: notify-failure
+- name: 失败通知
   image: reg.weipaitang.com/drone-plugin/ding-talk
   pull: always
   settings: