Update Github CI configuration

This commit is contained in:
2022-04-05 21:04:42 +02:00
parent 769f920a95
commit 77254a9c1a
8 changed files with 124 additions and 84 deletions

View File

@@ -29,7 +29,7 @@ impl Settings {
let config_file_required = file.is_some();
let config_path = env::var("CONFIG_PATH").unwrap_or_else(|_| "config".into());
let config_file = file.unwrap_or_else(|| {
env::var("CONFIG_FILE").unwrap_or_else(|_| format!("{}/dev", &config_path).into())
env::var("CONFIG_FILE").unwrap_or_else(|_| format!("{}/dev", &config_path))
});
let default_config_file = format!("{}/default", config_path);