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
and centralize `--auth` only in `BaseCommand`
commander@12 doesn't allow redefining the same option, so this pattern was no longer viable
This was a pure refactor, but it uncovered some commands that weren't declaring options they were using, so I fixed
those too.
Copy file name to clipboardExpand all lines: docs/commands/deploy.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,7 +85,6 @@ netlify deploy
85
85
**Flags**
86
86
87
87
-`alias` (*string*) - Specifies the alias for deployment, the string at the beginning of the deploy subdomain. Useful for creating predictable deployment URLs. Avoid setting an alias string to the same value as a deployed branch. `alias` doesn’t create a branch deploy and can’t be used in conjunction with the branch subdomain feature. Maximum 37 characters.
88
-
-`auth` (*string*) - Netlify auth token to deploy with
89
88
-`branch` (*string*) - Serves the same functionality as --alias. Deprecated and will be removed in future versions
90
89
-`build` (*boolean*) - Run build command before deploying
91
90
-`context` (*string*) - Context to use when resolving build configuration
@@ -94,14 +93,15 @@ netlify deploy
94
93
-`functions` (*string*) - Specify a functions folder to deploy
95
94
-`json` (*boolean*) - Output deployment data as JSON
96
95
-`message` (*string*) - A short message to include in the deploy log
96
+
-`prod-if-unlocked` (*boolean*) - Deploy to production if unlocked, create a draft otherwise
97
+
-`debug` (*boolean*) - Print debugging information
98
+
-`auth` (*string*) - Netlify auth token - can be used to run this command without logging in
97
99
-`open` (*boolean*) - Open site after deploy
98
100
-`prod` (*boolean*) - Deploy to production
99
-
-`prod-if-unlocked` (*boolean*) - Deploy to production if unlocked, create a draft otherwise
100
101
-`site` (*string*) - A site name or ID to deploy to
101
102
-`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
102
103
-`timeout` (*string*) - Timeout to wait for deployment to finish
103
104
-`trigger` (*boolean*) - Trigger a new build of your site on Netlify without uploading local files
104
-
-`debug` (*boolean*) - Print debugging information
0 commit comments