Add .env file handling for secrets
This commit is contained in:
parent
b8c5a21da5
commit
8b873e1fef
2 changed files with 8 additions and 0 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1 +1,3 @@
|
|||
/target
|
||||
|
||||
.env
|
||||
|
|
|
@ -30,6 +30,12 @@
|
|||
rust-analyzer
|
||||
rustfmt
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
set -a
|
||||
source .env
|
||||
set +a
|
||||
'';
|
||||
};
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue