mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2024-12-27 07:18:17 +01:00
Merge pull request #56 from mariolopjr/master
Add Simple Netlify Deploy Support
This commit is contained in:
commit
1e2b739b55
@ -65,6 +65,14 @@ Install this starter (assuming Gatsby is installed) by running from your CLI:
|
|||||||
#### Building
|
#### Building
|
||||||
`gatsby build`
|
`gatsby build`
|
||||||
|
|
||||||
|
#### Deploy with Netlify
|
||||||
|
|
||||||
|
Netlify CMS can run in any frontend web environment, but the quickest way to try it out is by running it on a pre-configured starter site with Netlify. Use the button below to build and deploy your own copy of the repository:
|
||||||
|
|
||||||
|
<a href="https://app.netlify.com/start/deploy?repository=https://github.com/alxshelepenok/gatsby-starter-lumen" target="_blank"><img src="https://www.netlify.com/img/deploy/button.svg" alt="Deploy to Netlify"></a>
|
||||||
|
|
||||||
|
After clicking that button, you’ll authenticate with GitHub and choose a repository name. Netlify will then automatically create a repository in your GitHub account with a copy of the files from the template. Next, it will build and deploy the new site on Netlify, bringing you to the site dashboard when the build is complete. Next, you’ll need to set up Netlify’s Identity service to authorize users to log in to the CMS.
|
||||||
|
|
||||||
## Screenshot
|
## Screenshot
|
||||||
|
|
||||||
![](http://i.imgur.com/422y5GV.png)
|
![](http://i.imgur.com/422y5GV.png)
|
||||||
|
6
netlify.toml
Normal file
6
netlify.toml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[build]
|
||||||
|
publish = "public"
|
||||||
|
command = "gatsby build"
|
||||||
|
[build.environment]
|
||||||
|
YARN_VERSION = "1.3.2"
|
||||||
|
YARN_FLAGS = "--no-ignore-optional"
|
Loading…
Reference in New Issue
Block a user