Skip to content
This repository was archived by the owner on Aug 21, 2025. It is now read-only.

Commit 66ff112

Browse files
authored
rename ci (#45)
1 parent b40e0d1 commit 66ff112

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/commands/link/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,14 +190,14 @@ export default class LinkIndex extends Command {
190190
// prompt if they want to replace it
191191
const confirmOverwrite = await confirmOverwriteCiHypFile();
192192
if (!confirmOverwrite) {
193-
this.log(chalk.yellow("Skipping ci-hyp.yml creation."));
193+
this.log(chalk.yellow("Skipping ci-modus-build.yml creation."));
194194
shouldCreateCIFile = false;
195195
}
196196
}
197197

198198
if (shouldCreateCIFile) {
199199
await fs.writeFile(ciHypFilePath, ciStr, { flag: "w" });
200-
this.log(chalk.green("Successfully created ci-hyp.yml! 🎉"));
200+
this.log(chalk.green("Modus CI workflow added to your project. Commit this change to initiate a deployment to Hypermode."));
201201
}
202202

203203
this.log(chalk.green("Linking complete! 🎉"));

src/util/ci.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*/
99

1010
export const ciStr = `
11-
name: ci-hypermode-functions
11+
name: Build and publish Modus app
1212
1313
on:
1414
workflow_dispatch:

src/util/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export function getSlugFromName(name: string): string {
8585
export async function confirmOverwriteCiHypFile(): Promise<boolean> {
8686
return inquirer.confirm({
8787
default: true,
88-
message: "A ci-hyp.yml file already exists. Would you like to overwrite it?",
88+
message: "A ci-modus-build.yml file already exists. Would you like to overwrite it?",
8989
});
9090
}
9191

@@ -118,7 +118,7 @@ export function getGithubWorkflowDir(): string {
118118
}
119119

120120
export function getCiHypFilePath(): string {
121-
return path.join(getGithubWorkflowDir(), "ci-hyp.yml");
121+
return path.join(getGithubWorkflowDir(), "ci-modus-build.yml");
122122
}
123123

124124
export function getGitConfigFilePath(): string {

0 commit comments

Comments
 (0)