From 700cfa5a81dab4a8e22136fe6a889a346df4bb04 Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Thu, 12 Feb 2026 03:29:49 +0000
Subject: [PATCH] Add an option to email on every build or only on failures
---
config/config.example.yaml | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/config/config.example.yaml b/config/config.example.yaml
index 29ea299..0cab582 100644
--- a/config/config.example.yaml
+++ b/config/config.example.yaml
@@ -41,10 +41,12 @@
email:
# Enable email notifications on build failures
enabled: false
+ # Send email every time the script is run or only on failures
+ email_everytime: true
# Recipient email address
to: ""
# Sender email address
- from: "archbuild@localhost"
+ from: "archrepobuild@localhost"
# SMTP server settings
smtp_host: "localhost"
smtp_port: 25
@@ -84,4 +86,4 @@
# Logging configuration
log_level: "INFO" # DEBUG, INFO, WARNING, ERROR, CRITICAL
# Uncomment to also log to file:
-# log_file: "/var/log/archbuild.log"
+# log_file: "/var/log/archrepobuild.log"
--
Gitblit v1.10.0