5344
5432
1万
管理员
本站资源如失效,请点击反馈!
$ curl wttr.in
$ curl wttr.in/Shanghai
$ curl -o result.html wttr.in/Shanghai
name: 'GitHub Actions Weather Bot' on: push: schedule: - cron: '0 21 * * *'
runs-on: ubuntu-lateststeps: - name: 'Checkout codes' uses: actions/checkout@v1
- name: 'Get weather report' run: bash ./weather.sh
- name: 'Send mail' uses: dawidd6/action-send-mail@master with: serveraddress: smtp.163.com serverport: 465 username: ${{ secrets.MAILUSERNAME }} password: ${{ secrets.MAILPASSWORD }} subject: Shanghai Weather Report body: file://result.html to: yifeng.ruan@gmail.com from: GitHub Actions content_type: text/html
使用道具 举报
本版积分规则 发表回复 回帖后跳转到最后一页
手机版|飞雪团队
GMT+8, 2024-11-24 03:56 , Processed in 0.067790 second(s), 24 queries , Gzip On.
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.