mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-28 09:41:20 +00:00
17 lines
345 B
Makefile
17 lines
345 B
Makefile
SHELL = /bin/sh
|
|
PATH := /usr/local/bin:$(PATH)
|
|
|
|
SMTP = smtp.easypi.info:587
|
|
FROM = urlwatch@easypi.info
|
|
PASS = password
|
|
TO = noreply@easypi.info
|
|
|
|
all: setup urls.txt
|
|
urlwatch -s $(SMTP) -f $(FROM) -t $(TO) -A -T
|
|
|
|
urls.txt: urls.yml
|
|
python lib/hooks.py
|
|
|
|
setup:
|
|
python -c 'import keyring; keyring.set_password("$(SMTP)", "$(FROM)", "$(PASS)")'
|