config🔧: update time
continuous-integration/drone/push Build is passing Details

main
isboyjc 2024-02-06 03:34:29 +08:00
parent 677fb00620
commit 226d856a9b
1 changed files with 3 additions and 4 deletions

View File

@ -87,6 +87,7 @@ steps:
- docker restart nginx
# - cp -r /drone/src/dist/* web
- echo "部署完成"
- export TIME=$(date -d @${DRONE_BUILD_FINISHED} +"%Y-%m-%d %H:%M:%S")
# 通知
- name: notify
@ -105,7 +106,7 @@ steps:
recipients:
- lijianchao@sentenceend.com
# - biankunchao@sentenceend.com
subject: Drone Build Complete${DRONE_REPO}
subject: Drone CI${DRONE_REPO}
body: |-
Drone Build Complete!
@ -127,9 +128,7 @@ steps:
- 构建状态: ${DRONE_BUILD_STATUS}
- 开始时间: $(date -d @${DRONE_BUILD_STARTED} +"%Y-%m-%d %H:%M:%S")
- 结束时间: $(date -d @${DRONE_BUILD_FINISHED} +"%Y-%m-%d %H:%M:%S")
- 完成时间: ${TIME}
success:
subject: "DroneCI构建成功"
message: "构建成功!"