Git Product home page Git Product logo

clock-in-gzhu's Introduction

广州大学GZHU自动健康打卡

免责申明

本项目仅做免费的学术交流使用。

简介

  1. 脚本使用Github Actions实现广州大学GZHU自动健康打卡
  2. 使用此脚本至少需要设置两个Repository secret:XUHAO和MIMA它们的值分别对应你的学号,密码
  3. 脚本会在每天早上7点自动运行
  4. (可选功能)使用pushplus 推送加 微信公众号推送打卡成功与否的消息 设置方法

使用教程

  1. 首先点击网页右上角的Fork按钮(顺便点下Star哦~)
  2. 然后点击如下图所示的地方,也就是你的账号名。

1


然后就来到下面这个界面


2


请按上图操作,先点Repositories,然后找到自己刚刚Fork的项目,点击。

这样就进入到了你自己Fork的项目,如下图


3


按上图中操作

  1. 先点Settings按钮
  2. 然后点Secrets按钮
  3. 之后再点击Secrets的下拉菜单中的Actions,进入Actions secrets界面。

接着继续按下图操作


4


上图圈起来的是需要创建的两个Secrets,点击New repository secret进入创建界面,如下图


5


  • 要创建的第一个Secret的Name为XUHAO,注意XUHAO要大写
  • Value是你自己的学号
  • 全部输入完成后点击图中圈起来的绿色按钮Add secrect来创建

  • 接下来是第二个要创建的Secret,Name是MIMA,注意MIMA要大写。
  • Value是你自己的密码
  • 全部输入完成后点击图中圈起来的绿色按钮Add secrect来创建

继续操作


6


如上图先点击Settings按钮左边的Actions按钮,再点击绿色按钮,进入下图界面


7


如上图

  1. 点击箭头1处蓝色的地方(本项目这里的名称是clock-in)
  2. 点击箭头2处Enable workflow

至此,全部配置完毕,自动打卡已经激活了

推送打卡成功与否的消息(可选功能)

pushplus 推送加 微信公众号

  • 创建一个Repository secret,Name是PUSHPLUS,注意PUSHPLUS要大写。
  • Value是pushplus 推送加 的token

FAQ

Q: 如果脚本运行失败怎么办?

如果你是第一次运行脚本,请先检查学号密码是否输入错误

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.