Merge pull request #48 from actions/do-not-enable-by-default

Update default behavior to NOT attempt to create/enable the Pages site
This commit is contained in:
James M. Greene
2023-01-18 15:13:37 -06:00
committed by GitHub
4 changed files with 5 additions and 5 deletions

View File

@@ -16,8 +16,8 @@ inputs:
default: ${{ github.token }}
required: true
enablement:
description: 'Should a Pages site be enabled for the repository if not so already?'
default: 'true'
description: 'Should a Pages site be enabled for the repository if not so already? This will only work with user-to-server tokens.'
default: 'false'
required: false
outputs:
base_url:

2
dist/index.js vendored
View File

@@ -15712,7 +15712,7 @@ function getRequiredVars() {
githubToken: core.getInput('token'),
staticSiteGenerator: core.getInput('static_site_generator'),
generatorConfigFile: core.getInput('generator_config_file'),
enablement: core.getInput('enablement') !== 'false'
enablement: core.getInput('enablement') !== 'true'
}
}

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@@ -7,7 +7,7 @@ function getRequiredVars() {
githubToken: core.getInput('token'),
staticSiteGenerator: core.getInput('static_site_generator'),
generatorConfigFile: core.getInput('generator_config_file'),
enablement: core.getInput('enablement') !== 'false'
enablement: core.getInput('enablement') !== 'true'
}
}