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

数据库合并后如何重建 #767

Closed
gavenwan opened this issue Jan 13, 2025 · 2 comments
Closed

数据库合并后如何重建 #767

gavenwan opened this issue Jan 13, 2025 · 2 comments

Comments

@gavenwan
Copy link
Contributor

因为种种原因,在本地获取完数据后,将完整的数据库data.db,上传到github上repo里,替换原来的data.db(旧)
这时候action 里重新 rundatasync,cloudflare里重新运行,
但是前端页面仍然显示的是data.db(旧)的数据。

怎么样让前端重新按照数据库内容构建一次页面尼?

@ben-29
Copy link
Collaborator

ben-29 commented Jan 13, 2025

这么操作没问题的

这时候action 里重新 rundatasync,

重新执行之后,会生成新的静态资源文件,看看是否有新的 commit

cloudflare里重新运行,

看看是否以 新的 commit 发布的,如果没有再手工 build 一下

@gavenwan
Copy link
Contributor Author

搞定。

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

2 participants