diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b253ef0..6256237 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,6 +24,7 @@ - if: $CI_COMMIT_BRANCH changes: - cmd/${GO_CMD}/*/** + - cmd/${GO_CMD}/* funbot: stage: build diff --git a/cmd/tempbot/main.go b/cmd/tempbot/main.go index d9273e3..2ad984a 100644 --- a/cmd/tempbot/main.go +++ b/cmd/tempbot/main.go @@ -59,8 +59,6 @@ func main() { log.Fatal("couldn't find needed channel") } - // delete messages older then x min in channel - ticker := time.NewTicker(1 * time.Minute) quit := make(chan struct{}) go func() {