Github Pages
@taylor/github-pagesv2026.10.11.1
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.
02Behaviors
@taylor/github-pages/sitev2026.10.11.1github_pages_site.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| owner | string | User or organization that owns the repository |
| repo | string | Repository name |
| ghPath? | string | GitHub 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
Repository
https://github.com/taylorific/swampworksdeno-command1 accepted
Spawns a subprocess with Deno.Command().
- models/github_pages_site.ts:62 — runs gh api from the GitHub CLI; argument lists are built in this file, see README What it runs
05Platforms
06Labels