mirror of
https://github.com/actions/deploy-pages.git
synced 2025-12-08 16:16:16 +00:00
Merge branch 'main' into patch-2
This commit is contained in:
@@ -7,6 +7,7 @@ inputs:
|
|||||||
emit_telemetry:
|
emit_telemetry:
|
||||||
description: 'Should this action only emit build telemetry instead of deploying the build artifact?'
|
description: 'Should this action only emit build telemetry instead of deploying the build artifact?'
|
||||||
required: false
|
required: false
|
||||||
|
default: "false"
|
||||||
token:
|
token:
|
||||||
description: 'GitHub token'
|
description: 'GitHub token'
|
||||||
default: ${{ github.token }}
|
default: ${{ github.token }}
|
||||||
|
|||||||
5
dist/index.js
vendored
5
dist/index.js
vendored
@@ -7476,11 +7476,8 @@ process.on('SIGTERM', cancelHandler)
|
|||||||
const emitTelemetry = core.getInput("emit_telemetry")
|
const emitTelemetry = core.getInput("emit_telemetry")
|
||||||
if (emitTelemetry === "true") {
|
if (emitTelemetry === "true") {
|
||||||
__nccwpck_require__(9557)
|
__nccwpck_require__(9557)
|
||||||
} else if (emitTelemetry === "false") {
|
|
||||||
main()
|
|
||||||
} else {
|
} else {
|
||||||
// If emit_telemetry is not set, that indicates an older version of the dynamic workflow that doesn't separate telemetry from deployment
|
main()
|
||||||
main().then(() => __nccwpck_require__(9557))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
})();
|
})();
|
||||||
|
|||||||
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
@@ -55,9 +55,6 @@ process.on('SIGTERM', cancelHandler)
|
|||||||
const emitTelemetry = core.getInput("emit_telemetry")
|
const emitTelemetry = core.getInput("emit_telemetry")
|
||||||
if (emitTelemetry === "true") {
|
if (emitTelemetry === "true") {
|
||||||
require('./pre')
|
require('./pre')
|
||||||
} else if (emitTelemetry === "false") {
|
|
||||||
main()
|
|
||||||
} else {
|
} else {
|
||||||
// If emit_telemetry is not set, that indicates an older version of the dynamic workflow that doesn't separate telemetry from deployment
|
main()
|
||||||
main().then(() => require('./pre'))
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user