GithubHelp home page GithubHelp logo

yuu1020 / clockin_gzhu Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lihaolikeorangejuice/clock-in-gzhu

0.0 0.0 0.0 1.41 MB

使用Github action自动进行广州大学gzhu每日健康打卡

Python 100.00%

clockin_gzhu's Introduction

广州大学gzhu健康打卡脚本

简介

  1. 脚本使用Github action自动进行广州大学gzhu每日健康打卡
  2. 使用此脚本需要设置两个Repository secrets:XUHAO和MIMA,它们的值分别对应你的学号和密码
  3. 脚本会在每天早上7点自动运行
  4. 如果你的Github账号绑定了邮箱的话,当脚本运行失败时,Github会发送一封运行失败的邮件给你
  5. 如果Github没有发邮件,就代表脚本运行成功

使用教程

  1. 首先把该项目Fork一份(在网页右上角,点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

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

FAQ

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

  1. 如果你是第一次运行脚本,请先检查学号密码是否输入错误
  2. 其它时候大多是因为打卡系统崩溃导致的打卡失败,请待打卡系统恢复后手动打卡

clockin_gzhu's People

Contributors

yuu1020 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.