One-click deployment of the hexo blog

It's up to github or coding with one click

up.sh

circle-info

Before you do this, you need to make sure that you have configured SSH keys. If not, you can see the one-click SSH key generation tutorial, which was in the previous article.

You need to right-click git bash in the directory where the install.sh script is stored and run the following command:

source install.sh deploy
下载up.sh
circle-info

You need to copy up.sh into the hexoblog file, which is your blog root directory

然后在存放up.sh脚本的目录中,右键打开git bash运行以下命令:

circle-check
triangle-exclamation
triangle-exclamation

Deploy the necessary configuration for the blog

First you need to open the root configuration file _config.yml

Find deploy, which is usually in the last line, and change it to the following format

circle-info

You just need to modify the information behind the repo

After version 1.3 of [heox-script] you do not need to install the upload plug-in yourself, but if an error is reported showing that the upload plug-in was not successfully installed, you need to execute the following command

Last updated

Was this helpful?