diff --git a/README.md b/README.md index c075fa5..83d25a5 100644 --- a/README.md +++ b/README.md @@ -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 -CONTENTFUL_TOKEN environment variable. +DATO_CMS_TOKEN environment variable. 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: -[![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) diff --git a/index.template b/index.template index 59f3e57..851d795 100644 --- a/index.template +++ b/index.template @@ -2,6 +2,6 @@ Deploy to Netlify template test: -CONTENTFUL_TOKEN = %CONTENTFUL_TOKEN% +DATO_CMS_TOKEN = %DATO_CMS_TOKEN% diff --git a/netlify.toml b/netlify.toml index d332490..a57774f 100644 --- a/netlify.toml +++ b/netlify.toml @@ -3,7 +3,7 @@ publish = "dist" [template] - incoming-hooks = ["Contentful"] + incoming-hooks = ["Dato CMS"] [template.environment] - CONTENTFUL_TOKEN = "change me" + DATO_CMS_TOKEN = "change me"