Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用 Github 的 Issues 和 Actions 功能搭建个人博客平台 #2

Open
xushulin opened this issue May 11, 2024 · 0 comments
Open
Assignees
Labels
开发&测试 作为一名程序员的基本素养

Comments

@xushulin
Copy link
Owner

xushulin commented May 11, 2024

主要参考yihongblog

1 监听issue事件自动更新readme文件

1.1 相关文件

  • .github\workflows\generate_readme.yml
  • main.py

1.2 相关配置

  • 在setting中开启action的读写权限
    Image

  • 配置token
    在个人全局setting中创建token
    Image
    在repo的setting中创建秘钥
    Image
    在yaml文件中配置秘钥
    Image

注意事项

  • 不要 close issue,否则readme中将不显示该条issue

2 监听issue事件更新静态个人页面

2.1 相关文件

  • .github\workflows\generate_site.yml

2.2 相关配置

  • 在repo的setting中启用GitHub Pages
    Image

3 issue 的 labels 和 projects 的使用

TODO

@xushulin xushulin added the 开发&测试 作为一名程序员的基本素养 label May 11, 2024
@xushulin xushulin moved this to In Progress in 功能测试 May 11, 2024
@xushulin xushulin changed the title 测试github actions监听issue时间自动生成readme文件 测试 github actions 事件流 May 11, 2024
@xushulin xushulin changed the title 测试 github actions 事件流 使用 github actions 完成个人博客平台 May 11, 2024
@xushulin xushulin changed the title 使用 github actions 完成个人博客平台 使用 Issues 和 Actions 搭建个人博客平台 May 11, 2024
@xushulin xushulin moved this from In Progress to Done in 功能测试 May 11, 2024
@xushulin xushulin closed this as completed by moving to Done in 功能测试 May 11, 2024
@xushulin xushulin moved this from Done to In Progress in 功能测试 May 12, 2024
@xushulin xushulin moved this from In Progress to Done in 功能测试 May 12, 2024
@xushulin xushulin moved this from Done to In Progress in 功能测试 May 12, 2024
@xushulin xushulin self-assigned this May 12, 2024
@xushulin xushulin reopened this May 12, 2024
@xushulin xushulin changed the title 使用 Issues 和 Actions 搭建个人博客平台 使用 Github 的 Issues 和 Actions 功能搭建个人博客平台 May 12, 2024
@xushulin xushulin moved this from In Progress to Done in 功能测试 May 12, 2024
@xushulin xushulin closed this as completed by moving to Done in 功能测试 May 12, 2024
@xushulin xushulin reopened this May 12, 2024
@xushulin xushulin moved this from 完成 to 正在更新 in 功能测试 May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
开发&测试 作为一名程序员的基本素养
Projects
Status: 正在更新
Development

No branches or pull requests

1 participant