2022-07-13 13:40:23 -07:00
name : "Configure Pages"
description : "An action to enable Pages and extract various metadata about a site. It can also be used to configure various static site generators we support as starter workflows."
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-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 "/"'