mirror of
https://github.com/actions/configure-pages.git
synced 2026-03-30 10:04:52 +00:00
Allow a user to manually opt-out of Pages site enablement
This commit is contained in:
@@ -9,7 +9,9 @@ const {getContext} = require('./context')
|
||||
async function main() {
|
||||
try {
|
||||
const context = getContext()
|
||||
await enablePages(context)
|
||||
if (context.enablement) {
|
||||
await enablePages(context)
|
||||
}
|
||||
await getPagesBaseUrl(context)
|
||||
} catch (error) {
|
||||
core.setFailed(error)
|
||||
|
||||
Reference in New Issue
Block a user