From 3e40232a6608d744f504404518cc47ad469d374f Mon Sep 17 00:00:00 2001 From: Roman Komarov Date: Fri, 18 May 2018 12:27:37 +0200 Subject: [PATCH] Add Netlify support and Netlify button --- README.md | 8 ++++++++ netlify.toml | 4 ++++ 2 files changed, 12 insertions(+) create mode 100644 netlify.toml diff --git a/README.md b/README.md index e650d4f..61fc2bf 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,14 @@ Follow [@shower_me](https://twitter.com/shower_me) for support and updates, [fil 1. Download and unzip [template archive](http://shwr.me/shower.zip) 2. Open `index.html` and start creating your presentation +## Deploy to Netlify + +By clicking the button below you can fork this repo and deploy it to Netlify. + +[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/shower/shower) + + By doing this you would get a GitHub repo linked with Netlify in a way any change to the repo would trigger a shower rebuild and deploy to Netlify servers, which allows for a really easy way to create and share Shower presentation without the need to install anything locally. + ## Advanced 1. Clone this repository locally `git clone git@github.com:shower/shower.git`. diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..e95408b --- /dev/null +++ b/netlify.toml @@ -0,0 +1,4 @@ +[build] + publish = "prepared" + command = "npm run prepare" +