使用GitHub Pages部署Hexo制作网站5

部署与上传

1、点击命令窗口按Ctrl+C即停止本地预览

2、点击命令窗口,并按Ctrl+C即停止本地预览,并输入npm install hexo-deployer-git –save

1
2
npm install hexo-deployer-git --save
npm list hexo-deployer-git

3、输入hexo g -d

1
hexo g -d

4、输入hexo g

1
hexo g 

5、将public文件夹中内容拽入到仓库中并上传

6、上传成功后点击Commit change

7、复制仓库名

8、用浏览器打开仓库名

  • Copyright: Copyright is owned by the author. For commercial reprints, please contact the author for authorization. For non-commercial reprints, please indicate the source.
  • Copyrights © 2022-2024 祝小炉
  • Visitors: | Views:

请我喝杯咖啡吧~

支付宝
微信