diff options
| author | vkcku <[email protected]> | 2026-06-01 20:35:52 +0530 |
|---|---|---|
| committer | vkcku <[email protected]> | 2026-06-01 20:35:52 +0530 |
| commit | 6e9c0e58387d482fa407011728597d5d098d441b (patch) | |
| tree | 0463f22e5aa3ccb2d4fb5b5b35bd04193cfb3f6c /infra | |
| parent | private: initial commit (diff) | |
infra: create monorepo-public repo if needed
monorepo-revid: 771e227f3cf8ded497402a4f13bcf4ddbcd546df
Diffstat (limited to 'infra')
| -rw-r--r-- | infra/modules/gitserver.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/infra/modules/gitserver.nix b/infra/modules/gitserver.nix index f22d248..3cacb54 100644 --- a/infra/modules/gitserver.nix +++ b/infra/modules/gitserver.nix @@ -60,6 +60,10 @@ if [ ! -d "${cfg.monorepoDir}" ]; then git init --bare monorepo fi + + if [ ! -d "${workingDirectory}/monorepo-public" ]; then + git init --bare monorepo-public + fi ''; }; |
