Skip to content

suya repo

suya repo links a project to a GitHub repository — either by creating a fresh repo with a starter scaffold or by connecting one you already have. See Connect a GitHub repo for the end-to-end flow, including installing the GitHub App.

Create a new GitHub repo and push a starter scaffold into it.

Terminal window
suya repo create --installation <installation-id> --name my-design
Flag Description
--installation <id> GitHub App installation to create the repo under.
--name <n> Optional repo name.
--project <id> Project to connect. Defaults to .subaya/config.toml.

Connect an existing GitHub repo to your project.

Terminal window
suya repo connect --installation <installation-id> --owner <owner> --repo <repo>
Flag Description
--installation <id> GitHub App installation that has access to the repo.
--owner <o> Repo owner (user or org).
--repo <r> Repo name.
--project <id> Project to connect. Defaults to .subaya/config.toml.

Show the connected repo and current config state.

Terminal window
suya repo status