mirror of
https://github.com/actions/configure-pages.git
synced 2025-12-08 08:06:09 +00:00
23 lines
885 B
YAML
23 lines
885 B
YAML
name: 'Get the Pages base URL'
|
|
description: 'Get the base URL where the GitHub Pages site will be hosted'
|
|
runs:
|
|
using: 'node16'
|
|
main: 'dist/index.js'
|
|
inputs:
|
|
static_site_generator:
|
|
description: 'static site generator types. We currently support nuxt, next and gatsby'
|
|
required: false
|
|
token:
|
|
description: 'GitHub token'
|
|
default: ${{ github.token }}
|
|
required: true
|
|
outputs:
|
|
base_url:
|
|
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 "/"'
|