Skip to content

onlw/github-pages

Repository files navigation

A script to build Github Pages quickly

English | 简体中文

✨ Features

  • 🎨 Powerful theme customization for Hexo.
  • 🌈 Support for Hugo
  • 📦 Support for jekyll ss

🖥 Environment Support

Hexo

  • Node.js (Should be at least Node.js 8.10, recommends 10.0 or higher)
  • Git

📦 Install

git clone git@github.com:spaco/github-pages.git ./app/hexo

🔨 Usage

./app/hexo/install.sh -h
This script will not download [node Git]. You must download [node Git] yourself. Then use this script to install
Usage: 
install.sh -f <blog_folder> -u <github_username> -s <github_personal_access_token> 

-f: The blog folder
-u: Github username
-s: Github personal access token

Example:

./app/hexo/install.sh -f  ~/blog/hexo -u spaco -s GITHUB_PERSONAL_ACCESS_TOKEN

🔗 Links

⌨️ Development

Use Gitpod, a free online dev environment for GitHub.

🤝 Contributing PRs Welcome

We welcome all contributions. You can submit any ideas as pull requests or as GitHub issues.

If you are a collaborator, please follow our Pull Request principle to create a Pull Request by collaborator template.

🤔️ FAQ

  • How should I choose scopes when I create github personal access token

About

A script to quickly build Github Pages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages