Radish alpha
r
rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE
Radicle CI adapter for native CI
Radicle
Git
feat: allow an optional base URL in the configuration file
Lars Wirzenius committed 1 year ago
commit 7f6aff97953e46d3d28978e7464b44ec106d464d
parent 63fb66f
1 file changed +5 -0
modified src/config.rs
@@ -19,6 +19,11 @@ pub struct Config {

    /// Optional maximum duration of a CI run.
    pub timeout: Option<usize>,
+

+
    /// Optional base URL to information about each run. The run ID is
+
    /// appended, with a slash if needed.
+
    #[serde(skip_serializing_if = "Option::is_none")]
+
    pub base_url: Option<String>,
}

impl Config {