forked from wechaty/getting-started
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
47 lines (44 loc) · 1.77 KB
/
.gitpod.yml
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
image:
file: .gitpod.dockerfile
# List the ports you want to expose and what to do when they are served. See https://www.gitpod.io/docs/config-ports/
# https://www.gitpod.io/docs/config-ports/
ports:
- port: 8080
onOpen: open-preview
# List the start up tasks. You can start them in parallel in multiple terminals. See https://www.gitpod.io/docs/config-start-tasks/
# https://www.gitpod.io/docs/config-start-tasks/
tasks:
- name: Wechaty ding-dong BOT
openIn: main
openMode: split-right
#
# Huan(202002): `npm install` will fail the gitpod loading in browser
# https://github.com/wechaty/getting-started/issues/160
#
init: |
echo '`npm install` will fail the gitpod loading in browser'
echo 'See: https://github.com/wechaty/getting-started/issues/160'
command: |
npm install
# WECHATY_PUPPET_SERVICE_TOKEN=XXX npm run start:puppet:service
# WECHATY_PUPPET_PADLOCAL_TOKEN=XXX npm run start:wechat:padlocal
# npm run start:whatsapp:web
npm run start:wechat:web
github:
prebuilds:
# enable for the master/default branch (defaults to true)
master: true
# enable for all branches in this repo (defaults to false)
branches: false
# enable for pull requests coming from this repo (defaults to true)
pullRequests: true
# enable for pull requests coming from forks (defaults to false)
pullRequestsFromForks: false
# add a "Review in Gitpod" button as a comment to pull requests (defaults to true)
addComment: true
# add a "Review in Gitpod" button to pull requests (defaults to false)
addBadge: false
# add a label once the prebuild is ready to pull requests (defaults to false)
addLabel: false
# add a check to pull requests (defaults to true)
addCheck: true