Skip to content

Commit d29be96

Browse files
committed
chore: add debug log to ManageGithubEvent function for improved event handling
1 parent 26fe0a8 commit d29be96

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

internal/application/manage-github-event.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
package application
22

33
import (
4+
"fmt"
5+
46
"cchalop1.com/deploy/internal/api/dto"
57
"cchalop1.com/deploy/internal/api/service"
68
)
79

810
func ManageGithubEvent(deployService *service.DeployService, githubEvent dto.GithubEvent) error {
911
var err error
12+
fmt.Println(githubEvent)
1013

1114
if githubEvent.Ref == "refs/heads/main" {
1215
err = ReDeployApplication(deployService, githubEvent.Repository.Name)

0 commit comments

Comments
 (0)