Optional token value to authenticate with the repo. Prefix with $ to read token from environment variable
Deploy your site hexo clean && hexo deploy.
You will be prompted with username and password of the target repository, unless you authenticate with a token or ssh key.
hexo-deployer-git does not store your username and password. Use git-credential-cache to store them temporarily.
Navigate to your repository settings and change the “Pages” branch to gh-pages (or the branch specified in your config). The deployed site should be live on the link shown on the “Pages” setting.
Customize commit message (Default to Site updated: {{ now('YYYY-MM-DD HH:mm:ss') }})
Netlify
Netlify provides continuous deployment (Git-triggered builds), an intelligent global CDN, full DNS (including custom domains), automated HTTPS, asset acceleration, and a lot more. It is a unified platform that automates your code to create high-performance, easily maintainable sites and web apps.
There are two different ways to deploy your sites on Netlify. The most common way is to use the web UI. Go to the create a new site page, select your project repo from GitHub, GitLab, or Bitbucket, and follow the prompts.
Alternatively, you can use Netlify’s Node based CLI tool to manage and deploy sites on Netlify without leaving your terminal.
You can also add a Deploy to Netlify Button in your README.file to allow others to create a copy of your repository and be deployed to Netlify via one click.
ZEIT Now is a cloud platform for websites and serverless APIs, that you can use to deploy your Hexo site to your personal domain (or a free .now.sh suffixed URL) with just a single command.