mirror of
https://github.com/actions/deploy-pages.git
synced 2025-12-08 16:16:16 +00:00
Merge pull request #30 from actions/decouple-telemetry
Remove the support for older dynamic jekyll workflows
This commit is contained in:
@@ -7,6 +7,7 @@ inputs:
|
||||
emit_telemetry:
|
||||
description: 'Should this action only emit build telemetry instead of deploying the build artifact?'
|
||||
required: false
|
||||
default: "false"
|
||||
token:
|
||||
description: '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")
|
||||
if (emitTelemetry === "true") {
|
||||
__nccwpck_require__(9557)
|
||||
} else if (emitTelemetry === "false") {
|
||||
main()
|
||||
} else {
|
||||
// If emit_telemetry is not set, that indicates an older version of the dynamic workflow that doesn't separate telemetry from deployment
|
||||
main().then(() => __nccwpck_require__(9557))
|
||||
main()
|
||||
}
|
||||
|
||||
})();
|
||||
|
||||
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")
|
||||
if (emitTelemetry === "true") {
|
||||
require('./pre')
|
||||
} else if (emitTelemetry === "false") {
|
||||
main()
|
||||
} else {
|
||||
// If emit_telemetry is not set, that indicates an older version of the dynamic workflow that doesn't separate telemetry from deployment
|
||||
main().then(() => require('./pre'))
|
||||
main()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user