Also load config settings from secrets.yaml
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -1 +1,2 @@
|
||||
_secrets.yaml filter=git-crypt diff=git-crypt
|
||||
secrets.yaml filter=git-crypt diff=git-crypt
|
||||
|
||||
@@ -134,6 +134,9 @@ def main():
|
||||
with open(ROOT.joinpath("config.yaml")) as fyaml:
|
||||
config = yaml.safe_load(fyaml)
|
||||
|
||||
with open(ROOT.joinpath("secrets.yaml")) as fyaml:
|
||||
config |= yaml.safe_load(fyaml)
|
||||
|
||||
template_args = {"config": config, "root": ROOT}
|
||||
|
||||
nodes = []
|
||||
|
||||
Reference in New Issue
Block a user