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