Skip to content

Commit 3ee5b96

Browse files
committed
Renamed the ci templates
1 parent 2707f7c commit 3ee5b96

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/hermes/commands/init/base.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ def create_ci_template(self) -> None:
496496
"""Downloads and configures the ci workflow files using templates from the chosen template branch."""
497497
match self.git_hoster:
498498
case GitHoster.GitHub:
499-
template_url = self.get_template_url("hermes_github.yml")
499+
template_url = self.get_template_url("hermes_github.yml.template")
500500
ci_file_folder = Path(".github/workflows")
501501
ci_file_name = "hermes_github.yml"
502502
ci_file_path = ci_file_folder / ci_file_name
@@ -511,8 +511,8 @@ def create_ci_template(self) -> None:
511511
self.configure_ci_template(ci_file_path)
512512
sc.echo(f"GitHub CI: File was created at {ci_file_path}", formatting=sc.Formats.OKGREEN)
513513
case GitHoster.GitLab:
514-
gitlab_ci_template_url = self.get_template_url("hermes_gitlab.yml")
515-
hermes_ci_template_url = self.get_template_url("hermes-ci.yml")
514+
gitlab_ci_template_url = self.get_template_url("hermes_gitlab.yml.template")
515+
hermes_ci_template_url = self.get_template_url("hermes-ci.yml.template")
516516
gitlab_ci_path = Path(".gitlab-ci.yml")
517517
gitlab_folder_path = Path("gitlab")
518518
hermes_ci_path = gitlab_folder_path / "hermes-ci.yml"

0 commit comments

Comments
 (0)