Hexo本地和github文件都更新,但主页却没更新问题
问题背景
基于Hexo,今天打算更新一篇解决Python调试博客,但部署在github的个人主页不更新页面。
逐步一步一步查阅问题:
- hexo s 本地显示正常
- hexo clean | hexo g 正常
- hexo d 上传github显示正常,文件是已经更新了的版本
- 浏览器没显示正常
从上可以发现是3和4步之间出现问题,对应查阅Github将上传的静态文件是否自动部署成功。
解决办法是可能只有干等
定位问题思路
查看需要部署的仓库
对比阅读 官方文档 https://docs.github.com/en/rest/deployments/statuses
state string Required
The state of the status. When you set a transient deployment to inactive, the deployment will be shown as destroyed in GitHub.
Can be one of: error, failure, inactive, in_progress, queued, pending, success
错误在于 due to in progress 上次的部署还没完成,要么取消上次的部署,要么等github挨个处理完
学习收获
- 查阅问题一步一步确定思路,定位出错点
- 多看官方文档,一针见血
Hexo本地和github文件都更新,但主页却没更新问题
http://oowatermelon.github.io/OoWaterMelonS/2022/09/30/Hexo本地和github文件都更新,但主页却没更新问题/