Open xgqfrms opened 1 year ago
审核
博客园内的所有文章
网站整改公告
为了遵守相关法律法规,合法合规
运营,网站进行全面整改
,整改工作于2021年3月18日12:00开始,预计于3月25日11:59结束,整改期间全站无法发布
任何内容,之前发布的内容重新审核
后才能访问,由此给您带来很大的麻烦,请您谅解。
2021-03-18 07:01
https://www.cnblogs.com/cmt/p/14553189.html
https://www.zhihu.com/question/449973287
???
https://github.com/zeusro/MarkdownBlog
https://www.cnblogs.com/zeusro/
https://www.cnblogs.com/jackson0714/p/cnblogs1.html
https://github.com/Jackson0714
https://www.cnblogs.com/liminjun88/p/4823903.html
https://github.com/liminjun/liminjun.github.io/issues/3
https://www.cnblogs.com/missile/p/11781522.html
https://zhuanlan.zhihu.com/p/95206699
https://github.com/hackerchenzhuo
https://hackerchenzhuo.github.io/index.html
https://www.cnblogs.com/zhangyjblogs/p/16103863.html
https://github.com/zhangyjblogs
https://www.cnblogs.com/RyanXing/p/14307823.html
cnblogs 迁移到 github 指南 All In One
https://cnblogs.xgqfrms.xyz/
solutions
方案二:拿来主义
使用第三方的 github actions , 把构建出来的 public/dist 文件夹,deploy 到 gh-pages 分支根目录中
gh-pages 分支
/
根目录作为部署目录https://github.com/xgqfrms/Gatsby-Tutorials-All-In-One/
https://github.com/xgqfrms/Gatsby-Tutorials-All-In-One/issues/4
https://github.com/xgqfrms/Gatsby-Tutorials-All-In-One/blob/master/package.json#L13-L14
https://github.com/xgqfrms/Gatsby-Tutorials-All-In-One/blob/master/.github/workflows/deploy-gh-pages.yml
方案一:自食其力
自定义 shell 脚本,实现 install, build, copy, depoly 一条龙服务
gh-pages 分支使用
/docs/
文件夹作为部署目录https://github.com/xgqfrms/cnblogs
https://github.com/xgqfrms/cnblogs/actions/runs/2797175417
https://github.com/xgqfrms/cnblogs/blob/gh-pages/copy.sh
https://github.com/xgqfrms/cnblogs/blob/gh-pages/.github/workflows/deploy.yml