From 542ec20657704bf9948ff05d6d59b9dc479e2bed Mon Sep 17 00:00:00 2001 From: cobb Date: Wed, 15 Jun 2022 14:25:29 +0800 Subject: [PATCH] success info --- .drone.yml | 15 +++++++++++++++ main.go | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index c712fb3..0dad320 100644 --- a/.drone.yml +++ b/.drone.yml @@ -104,6 +104,21 @@ steps: event: - push + - name: feishu-notification-success + pull: if-not-exists + image: ghcr.io/drizztdu/drone-feishu:linux-amd64 + depends_on: + - build + - publish + - deploy + settings: + Webhook: https://open.feishu.cn/open-apis/bot/v2/hook/5072d4ac-febf-4b35-87f8-caab612785b7 + when: + status: + - success + event: + - push + # golang win编译 - name: win-build image: golang:1.17 diff --git a/main.go b/main.go index 88ca28e..7dae1c5 100644 --- a/main.go +++ b/main.go @@ -8,7 +8,7 @@ import ( func main() { - fmt.Printlnzz("hello 7") + fmt.Println("hello 7") //Default返回一个默认的路由引擎 r := gin.Default() r.GET("/ping", func(c *gin.Context) {