mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2025-07-16 15:33:16 +08:00
refactor: Add info message
This commit is contained in:
parent
371989e187
commit
8e6c12a2b5
@ -32,10 +32,12 @@ export async function run(): Promise<void> {
|
|||||||
);
|
);
|
||||||
await git.push(inps.PublishBranch, inps.ForceOrphan);
|
await git.push(inps.PublishBranch, inps.ForceOrphan);
|
||||||
await git.pushTag(inps.TagName, inps.TagMessage);
|
await git.pushTag(inps.TagName, inps.TagMessage);
|
||||||
core.info('[INFO] Action successfully completed');
|
|
||||||
|
|
||||||
|
core.info(`[INFO] Deleting ${workDir}`);
|
||||||
io.rmRF(workDir);
|
io.rmRF(workDir);
|
||||||
|
|
||||||
|
core.info('[INFO] Action successfully completed');
|
||||||
|
|
||||||
return;
|
return;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
throw new Error(e);
|
throw new Error(e);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user