Giter Site home page Giter Site logo

bupt_ncov_auto_clockin's Introduction

北邮每日填报自动化

北邮 自动填报 疫情填报

Modified

  1. 原来设置的时间是UTC时间的每日1:00 AM,即China Time的9:00 AM,但是因为近期Actions出现波动,导致很多人没打上卡,现在增加UTC时间的17:00(China Time次日1:00)
  2. 改进REAMME使用说明

说明

利用Github提供的Actions完成自动运行脚本的过程 在.github/workflow中有一个YAML文件,打开后即可查看自动运行的相关细节 具体请查看相应文档

操作说明

  1. 将本仓库Fork一份
  2. 打开自己Fork的仓库,根据.github/workflows/main.yml中的字段,添加环境变量 即
env:
        USERNAME: ${{ secrets.USERNAME }}       # 学号
        PASSWORD: ${{ secrets.PASSWORD }}       # 信息门户用户名
        AREA: ${{ secrets.AREA }}               # 所在地区,例如"北京市 海淀区'
        PROVINCE: ${{ secrets.PROVINCE }}       # 所在省份,例如"北京市"
        CITY: ${{ secrets.CITY }}               # 所在城市,例如"北京市"
        SFZX: ${{ secrets.SFZX }}               # 是否在校,填"1"表示在校

添加USERNAME等字段 上述注释中示例均不需要添加双引号

  • 添加环境变量的方法 点击Settings(在Codes那一行) 找到Secrets 点击右上角添加键值对

在添加完毕后,点击Actions,进入自动操作的提示界面,开启Workflow 自动操作的触发条件有二,在.github/workflows/main.yml中有说明

on:
  push:
    branches: [ main ]
  schedule:
    - cron: '0 1 * * *'
    - cron: '0 17 * * *'

bupt_ncov_auto_clockin's People

Contributors

yingmanwumen avatar cheryuan7766 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.