HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

netlify — Deploy sites and configure continuous deployment to the Netlify platform. More information: <https:/

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandandconfigureclisitesnetlifydeploycontinuous

Problem

How to use the netlify command: Deploy sites and configure continuous deployment to the Netlify platform. More information: <https://cli.netlify.com/>.

Solution

netlify — Deploy sites and configure continuous deployment to the Netlify platform. More information: <https://cli.netlify.com/>.

Log in to the Netlify account:
netlify login


Deploy the contents of a directory to Netlify:
netlify deploy


Configure continuous deployment for a new or an existing site:
netlify init


Start a local dev server:
netlify dev

Code Snippets

Log in to the Netlify account

netlify login

Deploy the contents of a directory to Netlify

netlify deploy

Configure continuous deployment for a new or an existing site

netlify init

Start a local dev server

netlify dev

Context

tldr-pages: common/netlify

Revisions (0)

No revisions yet.