Skip to content

Use github as a web host is that easy. This template provide essential configurations to auto deploy your github repo to gh-pages via Travis CI

License

Notifications You must be signed in to change notification settings

hihihippp/ghpage-auto-deploy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ghpage-auto-deploy

Use github as a web host is that easy. This template provide essential configurations to auto deploy your github repo to gh-pages via Travis CI

Build Status

Setup

Generate Github token

  1. Fork this project to start making your web page.

  2. Visit https://github.com/settings/tokens , click generate new token button at top right to generate new token. Or use this link directly. Make sure you've checked repo permission.

  3. Tap Generate token button below all permissions. Then copy the generated token.

Setup Travis integration

  1. Visit your Travis profile to enable the project integration https://travis-ci.org/profile/[user name] If you haven't use Travis, don't worry about it, you can just use github account to login Travis.

  2. Tap the gear icon near the project name or visit https://travis-ci.org/[user name]/[project name]/settings Add a environment variable GH_TOKEN with the key you got from github Generate Token function.

Configure .travis.yml

Check .travis.yml in the forked project and replace git related settings to fit your info.

All set! Commit anything in your project and the project will be auto deployed to gh-pages!

Visit your project web page as https://[user name].github.io/[project name].

About

Use github as a web host is that easy. This template provide essential configurations to auto deploy your github repo to gh-pages via Travis CI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 98.3%
  • Other 1.7%