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

上传文件,需要重新部署嘛? #7

Open
Hickey-Yuze opened this issue Aug 31, 2024 · 3 comments
Open

上传文件,需要重新部署嘛? #7

Hickey-Yuze opened this issue Aug 31, 2024 · 3 comments

Comments

@Hickey-Yuze
Copy link

上传文件,是不是每次都要重新部署啊?

@jianjianai
Copy link
Owner

是的,本项目的工作原理就是生成静态页面。但是有很多方法可以自动更新。

  • 如果使用actions,可以在指定事件触发事自动重新部署。
  • cloudflare 或者其他平台, 可以配置钩子或者定时自动重新部署。
  • 如果挂着他人仓库中的文件,则只能定时重新部署。

目前文档中没有详细教学,之后会补充。

@Hickey-Yuze
Copy link
Author

好的,谢谢,麻烦尽快更新

@WyInnovate
Copy link

好的,谢谢,麻烦尽快更新

可以自己写个actions检查你挂载的仓库有更新就提交一下文件记录版本啥的,就自动触发重新部署了
今天配合别的项目的actions和AI自己搞了个

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

3 participants