Deploy Static Websites to Zeit via Cli

December 10, 2019

Create account: https://zeit.co/signup

Install cli

npm i -g now

Login (via email link)

now login

Deploy current directory

now --name <PROJECT>

Deploy specific directory

now <DIR> --name <PROJECT>

Deploy to production

now <DIR> --name <PROJECT> --prod

NOTE: First deployment will deploy to production - https://.now.sh

List all projects

now projects ls

Delete project

now projects rm <PROJECT>

References:

This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License.