Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 55a88510be | |||
| 9873b9739d | |||
| 5a17cf6b0b |
@@ -1,2 +1,3 @@
|
|||||||
TWILIO_ACCOUNT_SID=''
|
TWILIO_ACCOUNT_SID=''
|
||||||
TWILIO_AUTH_TOKEN=''
|
TWILIO_AUTH_TOKEN=''
|
||||||
|
SMS_TO=''
|
||||||
@@ -1,5 +1,8 @@
|
|||||||
image: "python:3.9"
|
image: "python:3.9"
|
||||||
|
|
||||||
|
variables:
|
||||||
|
SMS_TO: "01234567890"
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- python --version
|
- python --version
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ config = {
|
|||||||
'api_url': 'https://www.boden.co.uk/api/stock/v1/styles?market=UK&language=en-gb&id=y1357',
|
'api_url': 'https://www.boden.co.uk/api/stock/v1/styles?market=UK&language=en-gb&id=y1357',
|
||||||
'item_id': '40263442', # 40263447 low stock, 40263442 12-18m
|
'item_id': '40263442', # 40263447 low stock, 40263442 12-18m
|
||||||
'message_sent_file': './sent.txt',
|
'message_sent_file': './sent.txt',
|
||||||
'msg_to': '+447557447469',
|
'msg_to': os.environ['SMS_TO'],
|
||||||
'website_url': 'https://www.boden.co.uk/en-gb/rainbow-3-in-1-printed-jacket/sty-y1357',
|
'website_url': 'https://www.boden.co.uk/en-gb/rainbow-3-in-1-printed-jacket/sty-y1357',
|
||||||
'log_level': logging.WARN
|
'log_level': logging.WARN
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user