actions-marketplace-validations/Configure GitHub Pages

A GitHub Action to enable Pages, extract various metadata about a site, and configure some supported static site generators.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
static_site_generatorOptional static site generator to attempt to configure: "nuxt", "next", "gatsby", or "sveltekit"no
generator_config_fileOptional file path to static site generator configuration fileno
tokenGitHub tokenyes${{ github.token }}
enablementTry to enable Pages for the repository if it is not already enabled. This option requires a token other than `GITHUB_TOKEN` to be provided. In the context of a Personal Access Token, the `repo` scope or Pages write permission is required. In the context of a GitHub App, the `administration:write` and `pages:write` permissions are required.nofalse
namedescription
base_urlGitHub Pages site full base URL. Examples: "https://octocat.github.io/my-repo", "https://octocat.github.io", "https://www.example.com"
originGitHub Pages site origin. Examples: "https://octocat.github.io", "https://www.example.com"
hostGitHub Pages site host. Examples: "octocat.github.io", "www.example.com"
base_pathGitHub Pages site full base path. Examples: "/my-repo" or ""