gitlab+hugo搭建
gitab+hugo搭建
- gitlab+hugo搭建博客
- fork examples
- 1. hugo example:https://gitlab.com/pages/hugo
- 2. fork
- 3. 删除fork链接:Settings–>General–>Advanced settings–>Remove fork relationship
- 4. 修改仓库名称:Settings–>General–>Advanced settings–>Rename repository
- 5. 在线修改一个文件:hugo/content/post/2017-03-20-photoswipe-gallery-sample.md
- 6. 见证奇迹的时候到了,Gitlab CI会自动部署修改的md文件,生成静态页面并且部署
- 7. 查看生成的pages位置:Settings–>pages
- 8. 查看页面:https://azhegit.gitlab.io/hugo
- 9. 修改访问路径成:https://azhegit.gitlab.io
- 10. 访问:https://azhegit.gitlab.io/
- fork examples
gitlab+hugo搭建博客
fork examples
1. hugo example:https://gitlab.com/pages/hugo
2. fork
选择fork位置
3. 删除fork链接:Settings–>General–>Advanced settings–>Remove fork relationship
4. 修改仓库名称:Settings–>General–>Advanced settings–>Rename repository
5. 在线修改一个文件:hugo/content/post/2017-03-20-photoswipe-gallery-sample.md
6. 见证奇迹的时候到了,Gitlab CI会自动部署修改的md文件,生成静态页面并且部署
正在执行任务 docker镜像执行过程