Skip to content

Commit

Permalink
Update add.md
Browse files Browse the repository at this point in the history
Update with add deployment for tags
  • Loading branch information
timhuynh94 authored Nov 7, 2023
1 parent c42064e commit b4b70f2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion content/reference/cli/deployment/add.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,12 @@ EXAMPLES:
$ vela add deployment --org MyOrg --repo MyRepo --ref dev
4. Add a deployment for a repository with a specific commit reference.
$ vela add deployment --org MyOrg --repo MyRepo --ref 48afb5bdc41ad69bf22588491333f7cf71135163
5. Add a deployment for a repository with a specific tag.
$ vela add deployment --org MyOrg --repo MyRepo --ref 'refs/tags/example.tag'
5. Add a deployment for a repository with a specific description.
$ vela add deployment --org MyOrg --repo MyRepo --description 'my custom message'
6. Add a deployment for a repository with two parameters.
$ vela add deployment --org MyOrg --repo MyRepo --parameter 'key=value' --parameter 'foo=bar'
7. Add a deployment for a repository when config or environment variables are set.
$ vela add deployment
```
```

0 comments on commit b4b70f2

Please sign in to comment.