From 2e59652d1f7994783607ec5253e1f573f253a5ff Mon Sep 17 00:00:00 2001 From: Luke Fritz Date: Sat, 31 Dec 2022 21:36:58 -0600 Subject: [PATCH] Adjust GitHub directory structure (patch) --- .init-template.sh | 3 ++- github/{ => .template}/env.hcl | 0 github/{ => .template}/env.yaml | 0 3 files changed, 2 insertions(+), 1 deletion(-) rename github/{ => .template}/env.hcl (100%) rename github/{ => .template}/env.yaml (100%) diff --git a/.init-template.sh b/.init-template.sh index f97c4e2..c574719 100755 --- a/.init-template.sh +++ b/.init-template.sh @@ -25,7 +25,8 @@ function update_package_json() { function update_github_env_file() { local -r github_org="$1" - eval "$SED_COMMAND 's/cncsc/$github_org/g' ./github/env.yaml" + mv "./github/.template" "./github/$github_org" + eval "$SED_COMMAND 's/cncsc/$github_org/g' ./github/$github_org/env.yaml" } function update_remote_state_config() { diff --git a/github/env.hcl b/github/.template/env.hcl similarity index 100% rename from github/env.hcl rename to github/.template/env.hcl diff --git a/github/env.yaml b/github/.template/env.yaml similarity index 100% rename from github/env.yaml rename to github/.template/env.yaml