mirror of
https://github.com/actions/deploy-pages.git
synced 2026-03-30 18:14:52 +00:00
fix the non-fail status
This commit is contained in:
3
dist/index.js
vendored
3
dist/index.js
vendored
@@ -7137,8 +7137,7 @@ class Deployment {
|
|||||||
break
|
break
|
||||||
} else if (res.data.status == 'deployment_failed') {
|
} else if (res.data.status == 'deployment_failed') {
|
||||||
// Fall into permanent error, it may be caused by ongoing incident or malicious deployment content or exhausted automatic retry times.
|
// Fall into permanent error, it may be caused by ongoing incident or malicious deployment content or exhausted automatic retry times.
|
||||||
core.info('Deployment failed, try again later.')
|
core.setFailed('Deployment failed, try again later.')
|
||||||
core.setOutput('status', 'failed')
|
|
||||||
break
|
break
|
||||||
} else if (res.data.status == 'deployment_attempt_error') {
|
} else if (res.data.status == 'deployment_attempt_error') {
|
||||||
// A temporary error happened, a retry will be scheduled automatically.
|
// A temporary error happened, a retry will be scheduled automatically.
|
||||||
|
|||||||
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
@@ -7137,8 +7137,7 @@ class Deployment {
|
|||||||
break
|
break
|
||||||
} else if (res.data.status == 'deployment_failed') {
|
} else if (res.data.status == 'deployment_failed') {
|
||||||
// Fall into permanent error, it may be caused by ongoing incident or malicious deployment content or exhausted automatic retry times.
|
// Fall into permanent error, it may be caused by ongoing incident or malicious deployment content or exhausted automatic retry times.
|
||||||
core.info('Deployment failed, try again later.')
|
core.setFailed('Deployment failed, try again later.')
|
||||||
core.setOutput('status', 'failed')
|
|
||||||
break
|
break
|
||||||
} else if (res.data.status == 'deployment_attempt_error') {
|
} else if (res.data.status == 'deployment_attempt_error') {
|
||||||
// A temporary error happened, a retry will be scheduled automatically.
|
// A temporary error happened, a retry will be scheduled automatically.
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -93,8 +93,7 @@ class Deployment {
|
|||||||
break
|
break
|
||||||
} else if (res.data.status == 'deployment_failed') {
|
} else if (res.data.status == 'deployment_failed') {
|
||||||
// Fall into permanent error, it may be caused by ongoing incident or malicious deployment content or exhausted automatic retry times.
|
// Fall into permanent error, it may be caused by ongoing incident or malicious deployment content or exhausted automatic retry times.
|
||||||
core.info('Deployment failed, try again later.')
|
core.setFailed('Deployment failed, try again later.')
|
||||||
core.setOutput('status', 'failed')
|
|
||||||
break
|
break
|
||||||
} else if (res.data.status == 'deployment_attempt_error') {
|
} else if (res.data.status == 'deployment_attempt_error') {
|
||||||
// A temporary error happened, a retry will be scheduled automatically.
|
// A temporary error happened, a retry will be scheduled automatically.
|
||||||
|
|||||||
Reference in New Issue
Block a user