Skip to content

西北工业大学疫情填报github action

License

Notifications You must be signed in to change notification settings

xwhkkk/NWPUInfectReport

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

西工大疫情填报github action版本

自动打卡仅用于学习目的,任何与疫情相关的情况请如实填写!


使用流程

  1. 点击项目右上角的Fork,Fork此项目
  2. 到自己Fork的项目点击Actions,如果未启用,需要手动启用,然后启用需要运行的Workflows
  3. 到自己Fork的项目点击Setting→Secrets→New secrets
  4. 填写Name,和Value,需要添加以下三个
    • xgd_username -> 学号
    • xgd_password -> 密码
    • user_status -> 状态(在学校填1,在家填2)
    • Skey(可选) -> https://cp.xuthus.cc/申请,用于推送qq,或自行设置其他推送
  5. 在"Actions"中的"run"下点击"Run workflow"即可手动执行签到,后续运行按照schedule,默认在每天9:00自动签到,可自行修改
  6. 有问题可以提issue

推送可以设置的参数( Key/name(名称) --> Value(值) ):

Github Actions添加在Setting→Secrets→New secrets,腾讯云函数SCF设置在环境变量里

  1. Key: SCKEY --> Value: Server酱的推送SCKEY的值
  2. Key: SCTKEY --> Value: Server酱·Turbo版的推送SCTKEY的值
  3. Key: Skey --> Value: 酷推调用代码Skey
  4. Key: Smode --> Value: 酷推的推送渠道,不设置默认send.可选参数(send,group,psend,pgroup,wx,tg,ww,ding)
  5. Key: pushplus_token --> Value: pushplus推送token
  6. Key: pushplus_topic --> Value: pushplus一对多推送需要的"群组编码",一对一推送不用管填了报错
  7. Key: tg_token --> Value: Telegram bot的Token,Telegram机器人通知推送必填项
  8. Key: tg_chatid --> Value: 接收通知消息的Telegram用户的id,Telegram机器人通知推送必填项
  9. Key: tg_api_host --> Value: Telegram api自建的反向代理地址(不懂忽略此项),默认tg官方api=api.telegram.org

About

西北工业大学疫情填报github action

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%