fix: push tag was incorrect
This commit is contained in:
parent
bd882b6d3e
commit
c1349c7e40
2 changed files with 1 additions and 6 deletions
5
main.go
5
main.go
|
|
@ -64,9 +64,6 @@ func main() {
|
|||
data.EventBody = body
|
||||
|
||||
githubactions.Infof("using URL: %s", webhook)
|
||||
// fmt.Println("URL:> ", webhook)
|
||||
|
||||
// var jsonStr = []byte(fmt.Sprintf(data, project, commit, branch, status, actionid))
|
||||
|
||||
jsonStr, err := card(data)
|
||||
if err != nil {
|
||||
|
|
@ -74,8 +71,6 @@ func main() {
|
|||
os.Exit(1)
|
||||
}
|
||||
|
||||
// log.Printf("retrieved data: %s", string(jsonStr))
|
||||
|
||||
req, err := http.NewRequest("POST", webhook, bytes.NewBuffer(jsonStr))
|
||||
if err != nil {
|
||||
githubactions.Fatalf("error %s", err.Error())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue