From f67293ecdb671ca31c57b6d7c0a36ceb39bbc639 Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Tue, 16 Oct 2018 22:16:57 +0100 Subject: [PATCH] Add Netlify deploy button and netlify.toml --- README.md | 2 ++ netlify.toml | 10 ++++++++++ 2 files changed, 12 insertions(+) create mode 100644 netlify.toml diff --git a/README.md b/README.md index f662430..87b06d7 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ Static site generator for website to track BT InLink kiosks planning applications. +[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/adrianshort/kiosks) + ## How to build this site locally ### Setup - do this only once diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..8d83e70 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,10 @@ +[build] + base = "." + publish = "_site" + command = "bundle exec bin/download && bundle exec bin/petrify" + +[template] + incoming-hooks = ["Morph"] + +[template.environment] + MORPH_API_KEY = "change me"