github

package
v0.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnablePages

func EnablePages(owner, repo string) error

EnablePages enables GitHub Pages on a repository with workflow-based deployment. Uses the `gh` CLI which handles authentication via existing user session.

func PagesEndpoint

func PagesEndpoint(owner string) string

PagesEndpoint returns the canonical GitHub Pages hostname for an organization. e.g., "vitruviansoftware" → "vitruviansoftware.github.io"

func RepoInfo

func RepoInfo() (owner, repo string, err error)

RepoInfo extracts the owner and repo name from the current git working directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL