Skip to content

Commit

Permalink
fix(docs): add-deployment-example-for-tag (#388)
Browse files Browse the repository at this point in the history
* Update add.md

Update with add deployment for tags

* Update add.md
  • Loading branch information
timhuynh94 authored Nov 7, 2023
1 parent c42064e commit cace05f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions 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 description.
5. Add a deployment for a repository with a specific tag.
$ vela add deployment --org MyOrg --repo MyRepo --ref 'refs/tags/example.tag'
6. 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.
7. 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.
8. Add a deployment for a repository when config or environment variables are set.
$ vela add deployment
```
```

0 comments on commit cace05f

Please sign in to comment.