-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathproject.yml
More file actions
30 lines (30 loc) · 766 Bytes
/
project.yml
File metadata and controls
30 lines (30 loc) · 766 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
parameters: {}
environment: {}
packages:
- name: lethebot
shared: false
environment: {
TG_SESSION_STR: '${TG_SESSION_STR}',
TG_API_ID: '${TG_API_ID}',
TG_API_HASH: '${TG_API_HASH}',
TG_BOT_TOKEN: '${TG_BOT_TOKEN}',
INVITE_CODE: '${INVITE_CODE}',
DB_PASSWORD: '${DB_PASSWORD}',
DB_PATH: '${DB_PATH}'
}
functions:
- name: tg_webhook
runtime: python:3.9
main: ""
web: true
triggers:
- name: daily_reminder
sourceType: scheduler
sourceDetails:
cron: '${SCHEDULE_CRON_UTC}'
withBody: {
triggerType: 'daily_reminder'
}
limits:
timeout: 30000
memory: 512