Browse Source

success info

master
cobb 4 years ago
parent
commit
542ec20657
  1. 15
      .drone.yml
  2. 2
      main.go

15
.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

2
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) {

Loading…
Cancel
Save