Coder Social home page Coder Social logo

dadaewqq / note163checkin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bluehtml/note163checkin

2.0 0.0 0.0 10 KB

基于Github Actions的有道云笔记每日签到

Home Page: https://blog.guoqianfan.com/2020/08/30/note163-checkin-with-github-actions/

C# 100.00%

note163checkin's Introduction

Note163Checkin

一、Fork 仓库

点击右上角的Fork Fork

二、添加 Secret

Settings->Secrets->New secret,添加以下Secret:

  • Conf:其值如下:
    {
    	"Users": [{
    			"Task": "CC", //自定义名字,选填
    			"Username": "[email protected]", //账号
    			"Password": "aaa" //密码
    		}, {
    			"Task": "MM",
    			"Username": "[email protected]",
    			"Password": "111"
    		}
    	],
    	"ScKey": "", //server酱sckey,不填不开启
    	"ScType": "Failed" //通知类型. Always:始终通知; Failed:失败时通知; 不填/其他:不通知;
    }

步骤图示如下: 添加Secret

三、启用 Action

点击Actions,再点击I understand my workflows, go ahead and enable them 启用Action

注意:Fork 的仓库上的 GitHub Actions 的定时任务不会自动执行,必须要手动触发一次后才能正常工作。

所以 Fork 之后,点击自己仓库右上角的StarStar你的仓库,这是为了触发 Github Action 第一次执行,之后就会自动执行定时任务。 Star

四、查看运行结果

Actions->Run->build,能看到下图,表示运行成功(注意:由于 .NET Core会输出默认日志,请滚动到最下面查看实际运行结果查看Action运行记录

注意事项

24小时内频繁登录可能会触发验证,程序就会登录失败。此时需要在网页上手动登录一次(需要输入验证码),登录成功后再次运行本程序即可。

每天运行一次,在上午9:00-9:45之间。

也可以点击右上角的Star手动运行。 Star

参考

参考了以下项目:

note163checkin's People

Contributors

bluehtml avatar dadaewqq avatar

Stargazers

Deshawn Iacobellis avatar  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.