mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2025-07-15 06:33:17 +08:00
feat: Add outputs.skipped
This commit is contained in:
parent
8019d941f3
commit
d38fb792ab
@ -66,3 +66,6 @@ inputs:
|
|||||||
cname:
|
cname:
|
||||||
description: 'Set custom domain'
|
description: 'Set custom domain'
|
||||||
required: false
|
required: false
|
||||||
|
outputs:
|
||||||
|
skipped:
|
||||||
|
description: 'This parameter has true when this action skipped deployment'
|
||||||
|
@ -30,7 +30,7 @@ export async function run(): Promise<void> {
|
|||||||
core.warning(
|
core.warning(
|
||||||
'This action runs on a fork and not found auth token, Skip deployment'
|
'This action runs on a fork and not found auth token, Skip deployment'
|
||||||
);
|
);
|
||||||
core.setOutput('skip', 'true');
|
core.setOutput('skipped', 'true');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user