Allow a user to manually opt-out of Pages site enablement

This commit is contained in:
James M. Greene
2022-08-02 20:45:01 -05:00
parent 677bce1797
commit 0455a16aca
5 changed files with 15 additions and 5 deletions

View File

@@ -5,7 +5,8 @@ function getRequiredVars() {
return {
repositoryNwo: process.env.GITHUB_REPOSITORY,
githubToken: core.getInput('token'),
staticSiteGenerator: core.getInput('static_site_generator')
staticSiteGenerator: core.getInput('static_site_generator'),
enablement: core.getInput('enablement') !== 'false'
}
}