Skip to content

Commit

Permalink
Update default behavior to NOT attempt to create/enable the Pages site
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesMGreene committed Jan 18, 2023
1 parent 529ba71 commit 5d8963e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion src/context.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
}

Expand Down

0 comments on commit 5d8963e

Please sign in to comment.