DEV Community

Cover image for Deploying with the Click of a Button
Tara Z. Manicsic for Netlify

Posted on • Originally published at netlify.com

Deploying with the Click of a Button

Throughout December we'll be highlighting a different Netlify feature each day. It might just be the thing you need to unlock those creative juices, and dust off that domain you registered but never deployed! Keep an eye on the blog and on Twitter for each feature!

If only there was a way to help people (and/or pets) deploy your amazing projects with a click of a button. Well, funny you should mention that, Tara, because indeed there is! Adding the link to your project repo to this snippet of code here:

https://app.netlify.com/start/deploy?repository=<your repo right here!>

example: https://app.netlify.com/start/deploy?repository=https://github.com/netlify-templates/next-netlify-starter
Enter fullscreen mode Exit fullscreen mode

Then you can add the button to your website, repo, blog post, etc with this code:

markdown: 
[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/netlify-templates/next-netlify-starter)

html:
<a href="https://app.netlify.com/start/deploy?repository=https://github.com/netlify-templates/next-netlify-starter"><img src="https://www.netlify.com/img/deploy/button.svg"></a>
Enter fullscreen mode Exit fullscreen mode

Would ya look at that, we have a button. Just look at it!

Deploy to Netlify

When someone clicks the button it will start to walk them through the deployment process. Have a click and try it yourself. Happy coding 👩🏻‍💻!

screenshot of the first step in the deployment processes

Resources for the Road

Discussion (3)

Collapse
stoicllama profile image
John Liu

Hi Tara,

Appreciate you for providing the useful information on Netlify deployments here in dev.to!

Just curious, how do you generate those really pretty looking Table of Contents in your dev.to articles with the number icons and hover effect? I've looked all over [in the wrong places probably] and could not figure out how to do this.

Thanks!!

Cheers,
John

Collapse
emmiep profile image
Emmie Päivärinta

I think it's automatically added to posts in a series.

Collapse
stoicllama profile image
John Liu

Oh interesting will have to try it out. Thanks a bunch!!