mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2026-10-02 01:21:38 +00:00
feat: Add outputs.skipped
This commit is contained in:
1 parent
8019d941f3
commit
d38fb792ab
2 files changed
+4
-1
No files matched your search
@@ -66,3 +66,6 @@ inputs:
|
||||
cname:
|
||||
description: 'Set custom domain'
|
||||
required: false
|
||||
outputs:
|
||||
skipped:
|
||||
description: 'This parameter has true when this action skipped deployment'
|
||||
+1
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user