-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.json
69 lines (69 loc) · 2.03 KB
/
app.json
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"name": "notion-database-crawler",
"description": "Slack x Notion",
"repository": "https://github.com/75asa/notion-database-crawler",
"keywords": [
"Slack",
"Slack API",
"TypeScript",
"Heroku",
"Notion",
"Notion API"
],
"env": {
"NOTION_KEY": {
"description": "Notion KEY FYI: https://developers.notion.com/docs/getting-started",
"value": "secret_xxxx"
},
"SLACK_BOT_TOKEN": {
"description": "Slack App Bot Token - https://api.slack.com/apps",
"value": "xoxb-************-************-************************"
},
"SLACK_CHANNEL_NAMES": {
"description": "the channel daily reports are posted, if you wanna use multiple channels, separate them with a comma e.g `general,notifications`",
"value": "t_nippo"
},
"JOB_INTERVAL_SECONDS": {
"description": "job's default interval",
"value": "30"
},
"NOTION_VISIBLE_PROPS": {
"description": "If you wanna display multiple properties on a Slack, separate them with a comma e.g `title,description,Date`",
"value": "",
"required": false
},
"NOTION_NAME_PROP": {
"description": "`title` type prop name. default Name",
"value": "Name",
"required": false
},
"NOTION_CREATED_AT_PROP": {
"description": "`created_at` type prop name at Notion. default CreatedAt",
"value": "CreatedAt",
"required": false
},
"NOTION_LAST_EDITED_BY_PROP": {
"description": "`last_edited_by` type prop name at Notion. default LastEditedBy",
"value": "LastEditedBy",
"required": false
},
"NOTION_IS_PUBLISHED_PROP": {
"description": "`checkbox` type prop name to notify Slack at Notion. default IsPublished",
"value": "IsPublished",
"required": false
},
"YARN_PRODUCTION": {
"description": "for TypeScript build",
"value": "false"
}
},
"image": "heroku/nodejs",
"addons": [
"papertrail",
"heroku-postgresql",
"sentry"
],
"scripts": {
"postdeploy": "yarn migrate:deploy"
}
}