mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2025-07-14 14:16:00 +08:00
feat: Add outputs.skipped
This commit is contained in:
parent
8019d941f3
commit
d38fb792ab
@ -66,3 +66,6 @@ inputs:
|
||||
cname:
|
||||
description: 'Set custom domain'
|
||||
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(
|
||||
'This action runs on a fork and not found auth token, Skip deployment'
|
||||
);
|
||||
core.setOutput('skip', 'true');
|
||||
core.setOutput('skipped', 'true');
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user