You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(command-deploy): allow support for deploying by site name (#4327)
* feat(command-deploy): allow support for deploying by site name
* docs: add new example and update description for deploy site flag
* test: use serial instead of only
* refactor: get site by name or id else throw errors
* fix(command-deploy): list all partial matches for getting site by name
Co-authored-by: Erez Rokah <erezrokah@users.noreply.github.com>
Copy file name to clipboardExpand all lines: docs/commands/deploy.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -94,7 +94,7 @@ netlify deploy
94
94
-`open` (*boolean*) - Open site after deploy
95
95
-`prod` (*boolean*) - Deploy to production
96
96
-`prodIfUnlocked` (*boolean*) - Deploy to production if unlocked, create a draft otherwise
97
-
-`site` (*string*) - A site ID to deploy to
97
+
-`site` (*string*) - A site name or ID to deploy to
98
98
-`skip-functions-cache` (*boolean*) - Ignore any functions created as part of a previous `build` or `deploy` commands, forcing them to be bundled again as part of the deployment
99
99
-`timeout` (*string*) - Timeout to wait for deployment to finish
100
100
-`trigger` (*boolean*) - Trigger a new build of your site on Netlify without uploading local files
0 commit comments