mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2026-10-02 01:21:38 +00:00
refactor: change message type from warning to info
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -53,7 +53,7 @@ export async function addCNAME(workDir: string, content: string): Promise<void>
|
||||
}
|
||||
const filepath = path.join(workDir, 'CNAME');
|
||||
if (fs.existsSync(filepath)) {
|
||||
core.warning(`CNAME already exists, skip adding CNAME`);
|
||||
core.info(`CNAME already exists, skip adding CNAME`);
|
||||
return;
|
||||
}
|
||||
fs.writeFileSync(filepath, content + '\n');
|
||||
|
||||
Reference in new issue
Block a user