Dato CMS Demo

This commit is contained in:
Mathias Biilmann Christensen 2016-11-23 15:43:02 -08:00
parent 831d35a39a
commit 5f69e950a0
3 changed files with 6 additions and 6 deletions

View file

@ -1,9 +1,9 @@
## Contentful Deploy demo ## Dato CMS Deploy demo
This is a simple repository with a build script that will insert the value of a This is a simple repository with a build script that will insert the value of a
CONTENTFUL_TOKEN environment variable. DATO_CMS_TOKEN environment variable.
The [netlify.toml](netlify.toml) file for the repo configures some template settings The [netlify.toml](netlify.toml) file for the repo configures some template settings
that makes this repo usable with a netlify deploy button like the one below: that makes this repo usable with a netlify deploy button like the one below:
[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://deploy-preview-374--app.netlify.com/start/deploy?repository=https://github.com/biilmann/contentful-deploy-demo) [![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/biilmann/dato-cms-deploy-demo)

View file

@ -2,6 +2,6 @@
<body> <body>
Deploy to Netlify template test: Deploy to Netlify template test:
CONTENTFUL_TOKEN = %CONTENTFUL_TOKEN% DATO_CMS_TOKEN = %DATO_CMS_TOKEN%
</body> </body>
</html> </html>

View file

@ -3,7 +3,7 @@
publish = "dist" publish = "dist"
[template] [template]
incoming-hooks = ["Contentful"] incoming-hooks = ["Dato CMS"]
[template.environment] [template.environment]
CONTENTFUL_TOKEN = "change me" DATO_CMS_TOKEN = "change me"