@@ -35,6 +35,7 @@ _Version `>= 0.8.0` of this module is compatible with `mineiros-io/team/github >
3535 - [ Secrets Configuration] ( #secrets-configuration )
3636 - [ ` defaults ` Object Attributes] ( #defaults-object-attributes )
3737 - [ ` template ` Object Attributes] ( #template-object-attributes )
38+ - [ ` pages ` Object Attributes] ( #pages-object-attributes )
3839 - [ ` deploy_key ` Object Attributes] ( #deploy_key-object-attributes )
3940 - [ ` branch_protection ` Object Attributes] ( #branch_protection-object-attributes )
4041 - [ ` required_status_checks ` Object Attributes] ( #required_status_checks-object-attributes )
@@ -128,6 +129,12 @@ See [variables.tf] and [examples/] for details and use-cases.
128129 See below for a list of supported arguments.
129130 Default is ` {} ` - use module defaults as described in the README.
130131
132+ - ** [ ` pages ` ] ( #pages-object-attributes ) ** : _ (Optional ` object ` )_
133+
134+ A object of settings to configure GitHub Pages in this repository.
135+ See below for a list of supported arguments.
136+ Default is ` null ` .
137+
131138- ** ` allow_merge_commit ` ** : _ (Optional ` bool ` )_
132139
133140 Set to ` false ` to disable merge commits on the repository.
@@ -459,6 +466,26 @@ Module defaults are used for all arguments that are not set in `defaults`.
459466Using top level arguments override defaults set by this argument.
460467Default is ` {} ` .
461468
469+ #### [ ` pages ` ] ( #pages-object-attributes ) Object Attributes
470+
471+ This block is used for configuring GitHub Pages for the repository.
472+ The following top-level arguments must be set to configure GitHub Pages for
473+ the repository:
474+
475+ - ** ` branch ` ** : ** _ (Required ` string ` )_ **
476+
477+ The repository branch used to publish the site's source files.
478+
479+ - ** ` path ` ** : ** _ (Optional ` string ` )_ **
480+
481+ The repository directory from which the site publishes.
482+
483+ - ** ` cname ` ** : ** _ (Optional ` string ` )_ **
484+
485+ The custom domain for the repository. This can only be set after the
486+ repository has been created.
487+ Default is ` null ` .
488+
462489#### [ ` template ` ] ( #repository-creation-configuration ) Object Attributes
463490
464491- ** ` owner ` ** : ** _ (Required ` string ` )_ **
0 commit comments