Skip to main content

Github Pages

@taylor/github-pagesv2026.10.22.1· AGPL-3.0-or-later(was AGPL-3.0-only)· 1mo agoBEHAVIORSACCEPTED WARNINGS
01README

Make a repository's GitHub Pages site build from GitHub Actions: enable Pages if it's off, switch a branch-built site over, otherwise leave it alone. Uses the GitHub CLI's existing login, so no token goes in a vault.

02Behaviors1
@taylor/github-pages/sitev2026.10.22.1github_pages_site.ts

Global Arguments

ArgumentTypeDescription
ownerstringUser or organization that owns the repository
repostringRepository name
ghPath?stringGitHub CLI binary
fn ensure()
Make GitHub Pages build from GitHub Actions: enable Pages if it is off, switch a branch-built site, otherwise leave the site alone

Resources

site(infinite)— The Pages site as GitHub reports it (instance site)
03Previous Versions2
2026.10.14.1AGPL-3.0-only(was none)

Declares license AGPL-3.0-only in the manifest. No behavior changes.

2026.10.11.1
04Stats
A
100 / 100
Downloads
29
Archive size
17.4 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License2/2earned
  • Verified public repository2/2earned

06Platforms
07Labels