1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00

vercel: add page (#5278)

remove now.md page replaced by vercel
This commit is contained in:
Felix Swinkels 2021-02-19 11:11:57 +01:00 committed by GitHub
parent 0f4bf14bd6
commit 70a76e5280
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 28 deletions

View file

@ -1,28 +0,0 @@
# now
> Cloud platform for serverless deployment.
> More information: <https://zeit.co/now>.
- Deploy the current directory:
`now`
- Display a list of deployments:
`now list`
- Display information related to a deployment:
`now inspect {{deployment_url}}`
- Remove a deployment:
`now remove {{deployment_id}}`
- Log in into an account or create a new one:
`now login`
- Initialize an example project (a new directory will be created):
`now init`

36
pages/common/vercel.md Normal file
View file

@ -0,0 +1,36 @@
# vercel
> Deploy and manage your Vercel deployments.
> More information: <https://vercel.com/docs/cli>.
- Deploy the current directory:
`vercel`
- Deploy the currrent directory to production:
`vercel --prod`
- Deploy a directory:
`vercel {{path/to/project}}`
- Initialize an example project:
`vercel init`
- Deploy with Environment Variables:
`vercel --env {{ENV}}={{var}}`
- Build with Environment Variables:
`vercel --build-env {{ENV}}={{var}}`
- Set default regions to enable the deployment on:
`vercel --regions {{region_id}}`
- Remove a deployment:
`vercel remove {{project_name}}`