mirror of
https://github.com/vale981/dato-cms-deploy-demo
synced 2025-03-05 09:21:40 -05:00
Dato CMS Demo
This commit is contained in:
parent
831d35a39a
commit
5f69e950a0
3 changed files with 6 additions and 6 deletions
|
@ -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:
|
||||||
|
|
||||||
[](https://deploy-preview-374--app.netlify.com/start/deploy?repository=https://github.com/biilmann/contentful-deploy-demo)
|
[](https://app.netlify.com/start/deploy?repository=https://github.com/biilmann/dato-cms-deploy-demo)
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Add table
Reference in a new issue