Skip to content

Health checkin scripts, featuring GitHub-Action-based serverless experience.

Notifications You must be signed in to change notification settings

Rollingegg/nju-health-checkin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NJU Health Checkin

What's New!

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)

Usage

python -m pip install -r requirements.txt
NJU_USER=xxx NJU_PASS=xxx python checkin.py

Github Actions

  1. Set NJU_USER and NJU_PASS in settings/secrets.

  2. (Optional) Set TELEGRAM_TOKEN and TELEGRAM_TO secrets. (appleboy/telegram-action)

  3. (Optional) Set FEISHU_ROBOT_UUID and FEISHU_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 and NJU_PASS manually by using workflow_dispatch.

Credits

About

Health checkin scripts, featuring GitHub-Action-based serverless experience.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 56.2%
  • Python 41.6%
  • Shell 2.2%