diff --git a/action.yml b/action.yml index 15fd9f8..405169e 100644 --- a/action.yml +++ b/action.yml @@ -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: diff --git a/src/context.js b/src/context.js index 6dc0787..ba3d969 100644 --- a/src/context.js +++ b/src/context.js @@ -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' } }