import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Use this data source to retrieve GitHub Pages configuration for a repository. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as github from "@pulumi/github"; * * const example = github.getRepositoryPages({ * repository: "my-repo", * }); * ``` */ export declare function getRepositoryPages(args: GetRepositoryPagesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRepositoryPages. */ export interface GetRepositoryPagesArgs { /** * The repository name to get GitHub Pages information for. */ repository: string; } /** * A collection of values returned by getRepositoryPages. */ export interface GetRepositoryPagesResult { /** * The API URL of the GitHub Pages resource. */ readonly apiUrl: string; /** * The GitHub Pages site's build status (e.g., `building` or `built`). */ readonly buildStatus: string; /** * The type of GitHub Pages site. Can be `legacy` or `workflow`. */ readonly buildType: string; /** * The custom domain for the repository. */ readonly cname: string; /** * Whether the rendered GitHub Pages site has a custom 404 page. */ readonly custom404: boolean; /** * The absolute URL (with scheme) to the rendered GitHub Pages site. */ readonly htmlUrl: string; /** * Whether HTTPS is enforced for the GitHub Pages site. This setting only applies when a custom domain is configured. */ readonly httpsEnforced: boolean; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Whether the GitHub Pages site is public. */ readonly public: boolean; readonly repository: string; /** * The source branch and directory for the rendered Pages site. See Source below for details. */ readonly sources: outputs.GetRepositoryPagesSource[]; } /** * Use this data source to retrieve GitHub Pages configuration for a repository. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as github from "@pulumi/github"; * * const example = github.getRepositoryPages({ * repository: "my-repo", * }); * ``` */ export declare function getRepositoryPagesOutput(args: GetRepositoryPagesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRepositoryPages. */ export interface GetRepositoryPagesOutputArgs { /** * The repository name to get GitHub Pages information for. */ repository: pulumi.Input; } //# sourceMappingURL=getRepositoryPages.d.ts.map