diff --git a/cli/generate.go b/cli/generate.go index 8227aca..a348fc5 100644 --- a/cli/generate.go +++ b/cli/generate.go @@ -121,24 +121,9 @@ func Generate(force bool, debug bool, repoKey string) bson.M { cleanUp() - buildWebsite() - return bson.M{"repositoryCount": generateCount} } -// Sends a post request to the website build webhook -func buildWebsite() { - fmt.Println() - webhook, exists := dotenv.Get("WEBSITE_BUILD_WEBHOOK") - if exists { - response, err := request.Post(webhook, map[string]string{}) - if err != nil { - log.Println("Error during website build webhook request", err) - } - log.Println(response) - } -} - // Initializes a temporary directory for vim configuration files func initVimFiles() { workingDirectory, err := os.Getwd()