Pages

Sunday, 1 December 2024

搭建基于github issues的静态博客程序vitepress-issues-page

 1. 先fork此仓库:https://github.com/luoway/vitepress-issues-page,我fork后的项目地址:https://github.com/luckypoem/vitepress-issues-page

2. 在仓库的Actions页面,启用Actions功能。

3. 在仓库的Settings - General - Features设置项处,启用Issues选项

4. 在仓库的Settings - Pages - Build and deployment设置项处,把Source选择为Github Actions。

5. 在Issues - Labels处新建标签,命名为deploy。

6. 在此处https://github.com/luckypoem/vitepress-issues-page/issues/new新建issue。先打上deploy标签,然后写issue的标题和内容,然后提交

在我fork后的项目地址:https://github.com/luckypoem/vitepress-issues-page页面的如下地方:


创建gh-pages分支:在空白栏处输入gh-pages ,然后点击下方的create branch gh-pages from main, 即可创建gh-pages分支。这样,以后就可以访问

https://luckypoem.github.io/vitepress-issues-page/

演示网站:https://luckypoem.github.io/vitepress-issues-page/

项目地址: 

https://github.com/luoway/vitepress-issues-page

https://github.com/luckypoem/vitepress-issues-page

相关帖子:

https://briteming.blogspot.com/2024/12/github-issuesgmeek.html

No comments:

Post a Comment