test: switch from using HOME to DATABASE_HOME
All checks were successful
On_Push / lint_fmt (push) Successful in 5s
On_Push / lint_clippy (push) Successful in 11s
On_Push / build (push) Successful in 1m48s
On_Push / deploy (push) Successful in 13s

This commit is contained in:
silver 2024-09-17 23:20:31 +01:00
parent d9211dca9a
commit 43c5cd2eff
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D
2 changed files with 2 additions and 2 deletions

View file

@ -75,7 +75,7 @@
cfg = config.services."${package_name}"; cfg = config.services."${package_name}";
# secret options are in the env file(s) loaded separately # secret options are in the env file(s) loaded separately
environment_config = { environment_config = {
HOME = cfg.home; DATABASE_HOME = cfg.home;
DATABASE = "database.db"; DATABASE = "database.db";
}; };

View file

@ -65,7 +65,7 @@ pub fn get_config() -> Config {
wolves_url: "".to_string(), wolves_url: "".to_string(),
}; };
if let Ok(x) = env::var("HOME") { if let Ok(x) = env::var("DATABASE_HOME") {
config.home = x.trim().to_string(); config.home = x.trim().to_string();
} }
if let Ok(x) = env::var("DATABASE") { if let Ok(x) = env::var("DATABASE") {