Giter Site home page Giter Site logo

ontimeaction's Introduction

OnTimeAction

关于卷王

卷王的数目日渐增长,为了缓解紧张快节奏的生活氛围,提醒周围的卷王进行适度休息就非常有必要,这样有益于大家的身体健康。顺便练习以下github Action的使用方法。

使用方法

打开链接 GitHub - linli1724647576/OnTimeAction at master

Step 1:

fork + star 拷贝一份到自己github账号的respository下,star很重要

image-20220916170535907

Step 2:

修改main.py中的信息

image-20220916170926583

点进去,在这里进行修改

image-20220916171010473

修改内容如下:

image-20220916171349454

image-20220916171507051

如何获取发送方邮箱授权码:

如果你通过SMTP方式群发邮件,则需要邮箱打开SMTP服务,且现在邮箱大多为邮箱客户端设置了独立密码或授权码。登录QQ邮箱,在设置里有个第三方服务,开启SMTP服务,验证后可以生成授权码。

image-20220916172340810

Step 3:

点击Action,使用github长期服务进行挂载

image-20220916170704469

image-20220916170749107

开启workflows,就可以每天定时运行啦!

Step 4:

如何修改定时时间呢?

OnTimeAction/.github/workflows/github-actions-demo.yml 目录下修改cron时间,有点儿类似正则表达式

image-20220916172805269

可以参考下文进行修改:

cron时间表达式简介 - doclove - 博客园 (cnblogs.com)

ontimeaction's People

Contributors

abcdea avatar linli1724647576 avatar

Watchers

 avatar

Forkers

smartpycg

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.