diff --git a/README.md b/README.md index e31a0a04..fa6a3560 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,7 @@ Special thanks go to: - [Versions](#versions) - [Demo](#demo) - [Quick start](#quick-start) + - [Deploy](#deploy) - [Documentation](#documentation) - [File Structure](#file-structure) - [Browser Support](#browser-support) @@ -67,6 +68,10 @@ Special thanks go to: - Install with [Bower](https://bower.io/): ```bower install material-kit```. - Clone the repo: `git clone https://github.com/creativetimofficial/material-kit.git`. +## Deploy +:rocket: You can deploy your own version of the template to Genezio with one click: + +[![Deploy to Genezio](https://raw.githubusercontent.com/Genez-io/graphics/main/svg/deploy-button.svg)](https://app.genez.io/start/deploy?repository=https://github.com/creativetimofficial/material-kit&utm_source=github&utm_medium=referral&utm_campaign=github-creativetim&utm_term=deploy-project&utm_content=button-head) ## Documentation The documentation for the Material Kit is hosted at our [website](https://demos.creative-tim.com/material-kit/docs/2.1/getting-started/introduction.html). diff --git a/genezio.yaml b/genezio.yaml new file mode 100644 index 00000000..9e608a92 --- /dev/null +++ b/genezio.yaml @@ -0,0 +1,18 @@ +# The name of the project. +name: material-kit +# The region where the project is deployed. +region: us-east-1 +# The version of the Genezio YAML configuration to parse. +yamlVersion: 2 +# Information about the frontend, including the path, language, and publish directory. +# It is optional. It can also be an array if there are multiple frontends you want to deploy. +frontend: + # The folder where the frontend scripts will run. + path: ./ + # The directory that will be published to the CDN. It is relative to the path. + publish: ./ + scripts: + # List of scripts that build your frontend before deployment. It should populate the specified `publish` directory. + build: npm install + # List of scripts to run before deploying the frontend. + deploy: npm install