Code Monkey home page Code Monkey logo

nwpuinfectreport's Introduction

西工大疫情填报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

nwpuinfectreport's People

Contributors

non-one avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.