From 7934d2dd527cd97b40c4f4ad951cdf63b67e5d9b Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Tue, 19 Sep 2023 14:20:34 +0200 Subject: [PATCH] Add an example with all the available options Signed-off-by: Gergely Nagy --- README.md | 2 +- examples/ironforge.toml | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 examples/ironforge.toml diff --git a/README.md b/README.md index 53cdb0b..42f58d4 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ services: - "127.0.0.1:3000:3000" ``` -For more information about the available options, see the source for now. It's very small. +For more information about the available options, see [examples/ironforge.toml](examples/ironforge.toml). The service provides two routes. Both routes assume that the repository has a `main` branch, and will look for the status of that. diff --git a/examples/ironforge.toml b/examples/ironforge.toml new file mode 100644 index 0000000..f800bd0 --- /dev/null +++ b/examples/ironforge.toml @@ -0,0 +1,17 @@ +[server] +listen_addr = "0.0.0.0:3000" + +[forge] +url = "https://git.madhouse-project.org" +default_branch = "main" + + [forge.color] + success = "brightgreen" + pending = "lightgrey" + error = "lightgrey" + failure = "crimson" + warning = "orange" + unknown = "lightgrey" + + [forge.badges] + shields_url = "https://img.shields.io"