Add Heroku support

master
shadowgate15 2020-03-10 12:28:58 -05:00
parent 73361c7f89
commit b499771695
3 changed files with 6 additions and 1 deletions

4
.gitignore vendored
View File

@ -55,4 +55,6 @@ docs/_build/
target/ target/
# IDEA # IDEA
.idea/ .idea/
.env

1
Procfile Normal file
View File

@ -0,0 +1 @@
web: python nextaction.py -a $TODOIST_API_KEY -l $TODOIST_NEXT_ACTION_LABEL --debug --onetime

View File

@ -4,6 +4,8 @@ import logging
import argparse import argparse
# noinspection PyPackageRequirements # noinspection PyPackageRequirements
import os
from todoist.api import TodoistAPI from todoist.api import TodoistAPI
import time import time