Considering the limit of the policy of Github Action, the repository can't be deployed as daily-checkin-schedule any more!!! Otherwise your account will be forbidden ever!!! (The true case)
As a result, I tried to use 字节跳动轻服务 as alternative solution. Deploy your cloud function and add timed task instead. (Here is checkin.js
)
python -m pip install -r requirements.txt
NJU_USER=xxx NJU_PASS=xxx python checkin.py
-
Set
NJU_USER
andNJU_PASS
in settings/secrets. -
(Optional) SetTELEGRAM_TOKEN
andTELEGRAM_TO
secrets. (appleboy/telegram-action) -
(Optional) Set
FEISHU_ROBOT_UUID
andFEISHU_ROBOT_SECRET
secrets. (Rollingegg/feishu-robot-action)
-
The job will be automatically executed at 9:00 am UTC+8 (may be delayed up to 1 hour due to GitHub's issues with cron actions).
-
You can also trigger the job and set
NJU_USER
andNJU_PASS
manually by usingworkflow_dispatch
.
- checkin.py is written by Maxwell Lyu.