Skip to main content

Github Pages

@taylor/github-pagesv2026.10.11.1· 2d 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.11.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)
03Stats
A
93 / 100
Downloads
1
Archive size
17.2 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
  • License1/2partial

    no SPDX license declared

  • Verified public repository2/2earned

05Platforms
06Labels