惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

N
News and Events Feed by Topic
GbyAI
GbyAI
博客园 - Franky
宝玉的分享
宝玉的分享
Blog — PlanetScale
Blog — PlanetScale
Google DeepMind News
Google DeepMind News
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
人人都是产品经理
人人都是产品经理
Microsoft Azure Blog
Microsoft Azure Blog
The Register - Security
The Register - Security
腾讯CDC
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
I
InfoQ
The Cloudflare Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Engineering at Meta
Engineering at Meta
MongoDB | Blog
MongoDB | Blog
有赞技术团队
有赞技术团队
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
F
Full Disclosure
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Vercel News
Vercel News
博客园 - 【当耐特】
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
S
Schneier on Security
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Project Zero
Project Zero
量子位
M
MIT News - Artificial intelligence
Stack Overflow Blog
Stack Overflow Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
美团技术团队
Attack and Defense Labs
Attack and Defense Labs
C
Cybersecurity and Infrastructure Security Agency CISA
T
The Blog of Author Tim Ferriss
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
T
Troy Hunt's Blog
Google Online Security Blog
Google Online Security Blog
罗磊的独立博客
P
Proofpoint News Feed
Schneier on Security
Schneier on Security
Spread Privacy
Spread Privacy
S
SegmentFault 最新的问题
L
LINUX DO - 最新话题
Simon Willison's Weblog
Simon Willison's Weblog
爱范儿
爱范儿
博客园 - 聂微东
A
About on SuperTechFans
PCI Perspectives
PCI Perspectives
D
Docker

过千帆

使用PHP空间和天翼云盘搭建私人云盘 《捉弄》契诃夫 C#中的属性 C#中的时间戳 IQueryable 和 IEnumerable 的区别 SQL Server中LIKE和PATINDEX的用法 int.TryParse非预期执行引发的思考 《要过不好不坏的生活》李娟 郎咸平:资本主义精神与社会主义改革
使用Github Actions来完成有道云笔记每日签到
2020-08-30 · via 过千帆

前言

项目地址:https://github.com/BlueHtml/Note163Checkin

该项目使用Github Actions来完成有道云笔记每日签到,每天定时运行,无需服务器。

一、Fork 仓库

打开https://github.com/BlueHtml/Note163Checkin点击右上角的Fork Fork

二、添加 Secret

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

  • Conf:其值如下:
      {
      	"Users": [{
      			"Task": "CC", //自定义名字,选填
      			"Username": "abc@163.com", //账号
      			"Password": "aaa" //密码
      		}, {
      			"Task": "MM",
      			"Username": "123@163.com",
      			"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

参考

参考了以下项目:


本文会经常更新,请阅读原文: https://blog.guoqianfan.com/2020/08/30/note163-checkin-with-github-actions/ ,以避免陈旧错误知识的误导,同时有更好的阅读体验。

如果你想持续阅读我的最新博客,请点击 RSS 订阅,或者前往 博客园 关注我的主页

知识共享许可协议 本作品采用 知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议 进行许可。欢迎转载、使用、重新发布,但务必保留文章署名 过千帆(包含链接: https://blog.guoqianfan.com ),不得用于商业目的,基于本文修改后的作品务必以相同的许可发布。如有任何疑问,请 与我联系 。