f2er / github-actions-weather-bot

使用 Github Actions 实现定时发送穿衣建议邮件。

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

github-actions-weather-bot

使用 Github Actions 实现定时发送穿衣建议邮件。

实现过程

  1. 从**天气网爬取穿衣建议和温度信息。

  2. 通过 Node.jsfs 模块把获取到的信息写入到 index.html 文件中。( 这里的 index.html 文件不必写到仓库中,在 Github Actions 执行的时候会在服务器环境中创建 )

  3. 通过 Github Actions 发送 index.html 到指定邮箱。

详细介绍可以查看这里

About

使用 Github Actions 实现定时发送穿衣建议邮件。


Languages

Language:JavaScript 100.0%