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

不知道能否实现自部署? #1

Open
yi-Xu-0100 opened this issue May 10, 2021 · 3 comments
Open

不知道能否实现自部署? #1

yi-Xu-0100 opened this issue May 10, 2021 · 3 comments

Comments

@yi-Xu-0100
Copy link

No description provided.

@importer
Copy link
Owner

可以的 1、申请小米推送应用,根据app源码替换为自己的应用AppID AppKey;
2、部署https://github.com/importer/DingDong/blob/main/pushserver.py 替换为自己申请的AppSecret。
3、对应接口替换为自己应用url

@yi-Xu-0100
Copy link
Author

yi-Xu-0100 commented May 11, 2021

@importer 看起来非常棒,我想可以试着:密钥放在仓库的 secret 中。😀

  1. 将第一项设置为 GitHub action 来自动打包。
  2. 第二项如果能够同样使用 GitHub 自动完成部署的话,在任务中读取 AppSecret 并部署到云端最好。
  3. 第三项我不太清除,自己应用 url 是指的什么?个人不太了解这块,算是纯小白,有相关的手册或者指南吗(未进行过 app 开发和申请的相关人员)。(这里的 url 是指 readme 中的那个需要设置的 url 吗)

@importer
Copy link
Owner

github的自动部署没试过呢

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