You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: backend/src/env.rs
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
//!
3
3
//! Each field in the struct `EnvVars` corresponds to an environment variable. The environment variable name will be in all capitals. The default values are set using the `arg()` macro of the `clap` crate. Check the source code for the defaults.
4
4
5
+
use std::path::PathBuf;
6
+
5
7
use clap::Parser;
6
8
use hmac::{digest::InvalidLength,Hmac,Mac};
7
9
use sha2::Sha256;
@@ -25,6 +27,11 @@ pub struct EnvVars {
25
27
/// Github organization name
26
28
pubgh_org_name:String,
27
29
30
+
// Config
31
+
#[arg(env, default_value = "/deployments")]
32
+
/// Directory in which all the project deployments are stored
0 commit comments