CLICommand referenceprojectgit

project git

Commands, arguments, and options for openship project git.

See the workflow guide for examples. Global flags such as --json go before the command; see global options.

openship project git

Manage git linkage and auto-deploy

openship project git [options] [command]
SubcommandPurpose
link [options] <id>Link a GitHub repository to a project
branch <id> <branch>Set the deploy branch
auto-deploy [options] <id>Enable or disable push-to-deploy
webhook-domain [options] <id> [domain]Set or clear the domain that receives GitHub webhooks

openship project git auto-deploy

Enable or disable push-to-deploy

openship project git auto-deploy [options] <id>
ArgumentMeaning
idProject ID
OptionMeaning
--enableEnable auto-deploy
--disableDisable auto-deploy

openship project git branch

Set the deploy branch

openship project git branch [options] <id> <branch>
ArgumentMeaning
idProject ID
branchBranch name

Link a GitHub repository to a project

openship project git link [options] <id>
ArgumentMeaning
idProject ID
OptionMeaning
--owner <owner>GitHub owner/org
--repo <repo>Repository name
--branch <branch>Branch (defaults to the repo's default branch)
--installation-id <id>GitHub App installation id

openship project git webhook-domain

Set or clear the domain that receives GitHub webhooks

openship project git webhook-domain [options] <id> [domain]
ArgumentMeaning
idProject ID
domainVerified project domain (omit with --clear to unset)
OptionMeaning
--clearClear the webhook domain

On this page