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 Action #99

Open
AmazingAng opened this issue Aug 26, 2023 · 0 comments
Open

文档更新GitHub Action #99

AmazingAng opened this issue Aug 26, 2023 · 0 comments

Comments

@AmazingAng
Copy link
Member

例子:
WTF Ethers(文档仓库)的第一讲 readme.md 更新会自动触发 wtf.academy 网站(网站仓库)相应文档的更新。

两种情况

  1. 还没有习题: 直接更新文档/图片
  2. 如果有习题: 更新文档/图片的同时,要在文档中加入答题组建的引用。

方案:

  1. GitHub Action:
  • 网站仓库中部署一个GitHub Action,当文档仓库做相应变动时,更新网站仓库
  • 可能需要在网站仓库中维护一个映射:文档仓库的文件夹 -> 网站仓库教程文件夹
  1. GitHub Submodule
  • 调研一下
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant