send daily digest #1593
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}}' |