FormidableLabs / spectacle-boilerplate

[DEPRECATED] Boilerplate project for getting started with Spectacle Core
579 stars 192 forks source link

Add netlify deploy option #37

Closed bdougie closed 5 years ago

bdougie commented 7 years ago

Hello @kenwheeler and Formidable team. Big fan of your open source work, primarily react-music.

What is this?

I saw Kyle from Gatsby use this for his GraphQL Summit talk and was curious what he use for his slides and have finally stumbled onto this project. I am about use this for a talk next month, but wanted to reach out to provide a Netlify solution for deployment.

Netlify has a CLI similar to surge but it seems redundant to also add that unless you disagree. Netlify does differ by offering git integration to your repo and will watch for changes and deploy them to production (similar to github pages, except they are atomic).

There is a pretty cool Open Source plan as well which more features.

Solution

I added a deploy to Netlify button to the README. Feel free to test it out below. The toml file just tells Netlify that your index.html is in the root and your build command is npm run clean && npm run build.

Deploy to Netlify

Let me know if you have questions.

aleccool213 commented 6 years ago

+1