2022-07-13 13:40:23 -07:00
|
|
|
name: "Configure Pages"
|
2022-08-05 13:27:44 -05:00
|
|
|
description: "A GitHub Action to enable Pages, extract various metadata about a site, and configure some supported static site generators."
|
2022-08-05 13:28:40 -05:00
|
|
|
author: "GitHub"
|
2022-06-07 11:26:59 -07:00
|
|
|
runs:
|
2022-07-13 13:40:23 -07:00
|
|
|
using: "node16"
|
|
|
|
|
main: "dist/index.js"
|
2022-06-07 22:21:50 -07:00
|
|
|
inputs:
|
2022-07-13 13:40:23 -07:00
|
|
|
static_site_generator:
|
|
|
|
|
description: "Optional static site generator to attempt to configure (nuxt, next or gatsby)"
|
2022-06-16 14:28:43 -07:00
|
|
|
required: false
|
2022-06-07 22:21:50 -07:00
|
|
|
token:
|
2022-07-13 13:40:23 -07: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:
|
|
|
|
|
description: "Should a Pages site be enabled for the repository if not so already?"
|
|
|
|
|
default: "true"
|
|
|
|
|
required: false
|
2022-06-07 11:26:59 -07:00
|
|
|
outputs:
|
|
|
|
|
base_url:
|
2022-06-08 12:02:17 -05:00
|
|
|
description: 'GitHub Pages site full base URL. Examples: "https://octocat.github.io/my-repo/", "https://octocat.github.io/", "https://www.example.com/"'
|
|
|
|
|
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:
|
|
|
|
|
description: 'GitHub Pages site full base path. Examples: "/my-repo/" or "/"'
|