diff --git a/.drone.yml b/.drone.yml index 8ddc234..5df7ab2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -27,19 +27,25 @@ steps: - python ./python/hello.py - pytest --cov ./python/ - - name: codecov - image: robertstettner/drone-codecov + - name: notify + image: drillster/drone-email pull: if-not-exists settings: - token: - from_secret: codecov_pytest - files: - - python/lcov.info - flags: - - unit + host: + from_secret: work_wx_email_host + port: + from_secret: work_wx_email_port + username: lzwang + password: + from_secret: work_wx_noreply_password + from: + from_secret: work_wx_noreply_email + skip_verify: false + recipients: + - lzwang1994@163.com + subject: "${DRONE_REPO_NAME} Build No.${DRONE_BUILD_NUMBER}" + body: "${DRONE_COMMIT_AUTHOR} please visit ${DRONE_BUILD_LINK}" - - - name: "CI失败 微信推送" # https://plugins.drone.io/plugins/wechat-2 image: clem109/drone-wechat