2022-08-10 12:52:41 -05:00
name : 'Configure GitHub Pages'
2022-08-05 13:29:15 -05:00
description : 'A GitHub Action to enable Pages, extract various metadata about a site, and configure some supported static site generators.'
author : 'GitHub'
2022-06-07 11:26:59 -07:00
runs :
2023-11-17 15:54:11 +00:00
using : 'node20'
2022-08-05 13:29:15 -05:00
main : 'dist/index.js'
2022-06-07 22:21:50 -07:00
inputs :
2022-07-13 13:40:23 -07:00
static_site_generator :
2022-08-09 20:29:01 -04:00
description: 'Optional static site generator to attempt to configure : "nuxt" , "next" , "gatsby" , or "sveltekit"'
2022-08-05 17:31:59 -05:00
required : false
generator_config_file :
description : 'Optional file path to static site generator configuration file'
2022-06-16 14:28:43 -07:00
required : false
2022-06-07 22:21:50 -07:00
token :
2022-08-05 13:29:15 -05:00
description : 'GitHub token'
2022-06-07 22:21:50 -07:00
default : ${{ github.token }}
required : true
2022-08-02 20:45:01 -05:00
enablement :
2023-02-16 12:52:17 -06:00
description : 'Try 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.'
2023-01-18 15:03:22 -06:00
default : 'false'
2022-08-02 20:45:01 -05:00
required : false
2022-06-07 11:26:59 -07:00
outputs :
base_url :
2022-08-18 17:45:54 -05:00
description: 'GitHub Pages site full base URL. Examples : "https://octocat.github.io/my-repo" , "https://octocat.github.io" , "https://www.example.com" '
2022-06-08 12:02:17 -05:00
origin :
description: 'GitHub Pages site origin. Examples : "https://octocat.github.io" , "https://www.example.com" '
host :
description: 'GitHub Pages site host. Examples : "octocat.github.io" , "www.example.com" '
base_path :
2022-08-18 17:45:54 -05:00
description: 'GitHub Pages site full base path. Examples : "/my-repo" or ""'