From 637abb50cde09b202924884bda5dd1ce1adffc1b Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Fri, 2 Aug 2024 18:55:04 +0100 Subject: [PATCH] fix: add example email config to server default template --- crates/cli/src/server/server-default.toml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/crates/cli/src/server/server-default.toml b/crates/cli/src/server/server-default.toml index 5076ad4a..e4be5a54 100644 --- a/crates/cli/src/server/server-default.toml +++ b/crates/cli/src/server/server-default.toml @@ -9,6 +9,15 @@ url = "https://localhost:8080" # don't include any query path or a trailing slas [shout] # where updates from git-next should be sent to alert the user # webhook = { url = "https//localhost:9090", secret = "secret-password" } +# [shout.email] +# from = "git-next@example.com" +# to = "developer@example.com" +# +# [shout.email.smtp] +# hostname = "smtp.example.com" +# username = "git-next@example.com" +# password = "MySecretEmailPassword42" + [storage] # where local copies of repositories will be cloned (bare) into path = "./data" @@ -23,9 +32,3 @@ path = "./data" # [forge.default.repos] # the repos at the forge to manage # hello = { repo = "bob/hello", branch = "main", gitdir = "/opt/git/projects/bob/hello.git" } # world = { repo = "bob/world", branch = "master", main = "master", next = "upcoming", "dev" = "develop" } -# hello = { repo = "bob/hello", branch = "main", gitdir = "/opt/git/projects/bob/hello.git" } -# world = { repo = "bob/world", branch = "master", main = "master", next = "upcoming", "dev" = "develop" } -# world = { repo = "bob/world", branch = "master", main = "master", next = "upcoming", "dev" = "develop" } -# world = { repo = "bob/world", branch = "master", main = "master", next = "upcoming", "dev" = "develop" } -# world = { repo = "bob/world", branch = "master", main = "master", next = "upcoming", "dev" = "develop" } -# world = { repo = "bob/world", branch = "master", main = "master", next = "upcoming", "dev" = "develop" }