Static Web site generator
-
Create a GitHub repository with a ReadMe at least
-
Enable GitHub pages of this repository
-
Create an Application in your Cloud service which supports GitHub web-hook (such as LeanCloud)
-
Create a Web-hook in this repository, then set it into your Cloud App
-
Execute commands below:
git clone https://github.com/your/git-repo
cd git_repo
npm init web-site --CDN https://your-app.cloud-example.com/
git add .
git commit -m "[ Add ] Web-site main framework"
git push origin
Just create & edit MarkDown files in ./article/
folder of your repository in Web browser,
the Site-generator will build static pages automatically in your Cloud App!