From b4b70f295e0ee3689bf3ba94e9c1c99184ff5849 Mon Sep 17 00:00:00 2001 From: Tim Huynh Date: Tue, 7 Nov 2023 10:20:24 -0600 Subject: [PATCH] Update add.md Update with add deployment for tags --- content/reference/cli/deployment/add.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/reference/cli/deployment/add.md b/content/reference/cli/deployment/add.md index d71b661fe..1ebe2345f 100644 --- a/content/reference/cli/deployment/add.md +++ b/content/reference/cli/deployment/add.md @@ -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 -``` \ No newline at end of file +```