Skip to content

Commit 20a0308

Browse files
committed
v2.3.11a
1 parent 2bff400 commit 20a0308

3 files changed

Lines changed: 9 additions & 8 deletions

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
const notification = {
2424
msg_type: 'text',
2525
content: {
26-
text: `There has been a push to the main branch. Check the details at: ${process.env.GITHUB_SERVER_URL}/${process.env.GITHUB_REPOSITORY}/actions/runs/${process.env.GITHUB_RUN_ID}`
26+
text: `[GitHub Actions]✅有新的提交: ${process.env.GITHUB_SERVER_URL}/${process.env.GITHUB_REPOSITORY}`
2727
}
2828
};
2929
try {

backend/app/utils/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
from app.utils.cache import get_redis_cache, redis_cache
2-
from app.utils.mailservice import send_bootstrap_emails, send_feishu_message
2+
from app.utils.mailservice import send_feishu_message
33

44
__all__ = [
55
"get_redis_cache",
66
"redis_cache",
7-
"send_bootstrap_emails",
7+
# "send_bootstrap_emails",
88
"send_feishu_message",
99
]

backend/test/test_task.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
import asyncio
21

32
from app.configs.config import get_settings
4-
from app.utils.mailservice import send_bootstrap_emails
3+
4+
# from app.utils.mailservice import send_bootstrap_emails
55

66
get_settings.cache_clear()
77

88

99
if __name__ == "__main__":
10-
# 测试发送引导邮件
11-
test_email = "kano3255@outlook.com"
12-
asyncio.run(send_bootstrap_emails(test_email))
10+
# 测试发送引导邮件 [已禁用]
11+
# test_email = "kano3255@outlook.com"
12+
# asyncio.run(send_bootstrap_emails(test_email))
13+
pass

0 commit comments

Comments
 (0)