Error: Config value "admin.deployCommand" not found

在hexo根目录下

touch hexo-pubish.sh

vi hexo-pubish.sh

写入

#!/usr/bin/env sh
hexo clean
hexo g
hexo d

 

修改配置文件

加入

deployCommand: './hexo-publish.sh'

修改sh文件的执行权限

chmod +x hexo-publish.sh

Error: Config value "admin.deployCommand" not found

修改后再次执行

Error: Config value "admin.deployCommand" not found

 

相关文章:

  • 2022-01-01
  • 2021-12-01
  • 2022-12-23
  • 2022-01-06
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-09
  • 2021-06-06
  • 2022-12-23
  • 2021-09-05
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案