brandon-fryslie/gh-pages-multiplexer

Deploy static sites to versioned subdirectories on gh-pages

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
source-dirDirectory containing build output to deployyes
target-branchBranch to deploy tonogh-pages
ref-patternsGlob patterns for refs that trigger deployment (comma-separated). Default: deploy all refs. Bypassed when `version` is set.no*
base-path-modeBase path correction mode: "base-tag" (default), "rewrite", or "none". Use "none" when your build already sets the correct absolute base URL at build time (Vite `base`, Next.js `basePath`, Astro `base`, etc.) — the action will copy your files unchanged.nobase-tag
base-path-prefixOverride the repository base path (e.g., "/my-repo"). Auto-detected from GITHUB_REPOSITORY if not set.no""
versionExplicit version slot name (e.g., "v1.2.3"). When set, overrides the ref-derived slot and bypasses ref-patterns filtering. Required if you want to deploy with a build-time base URL that matches a predetermined version path.no""
widget-iconCustom SVG markup for the navigation widget icon. Must be a complete <svg>...</svg> element. Default: built-in layers icon.no""
widget-labelLabel text shown on the widget handle when hovered. Supports the {version} token, which is replaced with the deployed version slot. Default: "{version}".no""
widget-positionWhere the widget tab appears, in the form "<edge> <vertical>". Edge is "right" or "left". Vertical is a percentage from the top (e.g. "80%"). Default: "right 80%".no""
widget-colorHex color (e.g. "#f97316") for the widget handle background. Default: bright orange "#f97316".no""
namespace-storageWhen "true", inject a runtime wrapper that transparently namespaces localStorage and sessionStorage by <owner>/<repo>/<version>. Prevents collision between different repos on the same <owner>.github.io origin. Default: "false" (opt-in — the wrapper is a behavior change for deployed apps).nofalse
tokenGitHub token for pushing to the target branchno${{ github.token }}
namedescription
versionThe deployed version name (sanitized from ref)
urlThe URL of the deployed version