2022-06-07 14:18:05 -05:00
|
|
|
name: 'Get the Pages base URL'
|
|
|
|
|
description: 'Get the base URL where the GitHub Pages site will be hosted'
|
2022-06-07 11:26:59 -07:00
|
|
|
runs:
|
|
|
|
|
using: 'node16'
|
2022-06-07 12:15:52 -07:00
|
|
|
main: 'dist/index.js'
|
2022-06-07 22:21:50 -07:00
|
|
|
inputs:
|
2022-06-16 14:28:43 -07:00
|
|
|
static_site_generator:
|
|
|
|
|
description: 'static site generator types. We currently support nuxt, next and gatsby'
|
|
|
|
|
required: false
|
2022-06-07 22:21:50 -07:00
|
|
|
token:
|
|
|
|
|
description: 'GitHub token'
|
|
|
|
|
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 "/"'
|