Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.

Conversation

@noahingh
Copy link
Member

@noahingh noahingh commented Feb 5, 2022

List

deployment list
NAME:
   gitploy deployment list - Show the deployments under the repository.

USAGE:
   gitploy deployment list [command options] <owner>/<repo>

OPTIONS:
   --page value      The page of list. (default: 1)
   --per-page value  The item count per page. (default: 30)
   --env value       The name of the environment. It only shows deployments for the environment.
   --status value    The deployment status: 'waiting', 'created', 'queued', 'running', 'success', or 'failure'. It only shows deployments the status is matched.
   --help, -h        show help (default: false)

Get

deployment get
NAME:
   gitploy deployment get - Show the deployment

USAGE:
   gitploy deployment get [command options] <owner>/<repo> <number>

OPTIONS:
   --help, -h  show help (default: false)

Deploy

deployment deploy
NAME:
   gitploy deployment deploy - Deploy a specific ref(branch, SHA, tag) to the environment.

USAGE:
   gitploy deployment deploy [command options] <owner>/<repo>

OPTIONS:
   --type value  The type of the ref: 'commit', 'branch', or 'tag'.
   --env value   The name of the environment.
   --ref value   The specific ref. It can be any named branch, tag, or SHA.
   --help, -h    show help (default: false)

Update

deployment update
NAME:
   gitploy deployment update - Trigger the deployment which has approved by reviews.

USAGE:
   gitploy deployment update [command options] <owner>/<repo> <number>

OPTIONS:
   --help, -h  show help (default: false)

@noahingh noahingh added enhancement New feature or request component: cli This issue or pull request is related to the features of CLI labels Feb 5, 2022
@noahingh noahingh added this to the v0.6 milestone Feb 5, 2022
@noahingh noahingh linked an issue Feb 5, 2022 that may be closed by this pull request
@noahingh noahingh linked an issue Feb 5, 2022 that may be closed by this pull request
@noahingh noahingh marked this pull request as ready for review February 5, 2022 07:19
@noahingh noahingh merged commit aa47b05 into main Feb 5, 2022
@noahingh noahingh deleted the deployment-cli branch February 5, 2022 07:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

component: cli This issue or pull request is related to the features of CLI enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provide the subcommand to access Deployment by CLI command

2 participants