Skip to content

send daily digest #1638

send daily digest

send daily digest #1638

Workflow file for this run

name: send daily digest
on:
schedule:
- cron: '0 23 * * *'
jobs:
send-hacker-news-digest:
runs-on: ubuntu-latest
steps:
- name: warm up function
uses: wei/curl@v1
with:
args: 'https://brianlovin.com/api/hn/send?warmup=true'
- name: send digests
uses: wei/curl@v1
with:
args: 'https://brianlovin.com/api/hn/send?token=${{secrets.HN_TOKEN}}'