Create a LeetCode-daily-problem task at Todoist
-
Get Todoist's API token here
-
Set
TODOIST_API_TOKEN
as an environment variable in.env
like this- [ ] Rewrite
.env.template
- [ ] Run
mv .env.template .env
TODOIST_API_TOKEN=??? # replace ??? by the API token
- [ ] Rewrite
-
Run
gh secret set -f .env
so that the secrets set in GitHub -
Rewrite 2
FIXME
inmain.ts
to setlabels
andsection_id
.
deno run --allow-all main.ts