Remind #68
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: Remind | |
on: | |
schedule: | |
- cron: "0 5 * * *" | |
workflow_dispatch: | |
jobs: | |
readwise_clone: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.16 | |
- name: Resolve missing dependency | |
run: go mod download github.com/davecgh/go-spew | |
- name: Send email | |
env: | |
SENDGRID_API_KEY: ${{ secrets.SENDGRID_API_KEY }} | |
RECIPIENT_EMAIL: ${{ secrets.RECIPIENT_EMAIL }} | |
SENDER_EMAIL: ${{ secrets.SENDER_EMAIL }} | |
run: go run remind.go | |