-
Notifications
You must be signed in to change notification settings - Fork 1
/
devfile.yaml
58 lines (53 loc) · 1.25 KB
/
devfile.yaml
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
apiVersion: 1.0.0
metadata:
generateName: sunix-blog-site-
projects:
-
name: blog-sunix-org
source:
type: git
location: 'https://github.com/sunix/blog.sunix.org.git'
components:
- mountSources: true
endpoints:
- name: che-docs-web-server
attributes:
public: 'true'
protocol: http
path: /
port: 4000
- name: che-docs-livereload-server
attributes:
public: 'true'
protocol: http
path: /
port: 35729
memoryLimit: 1Gi
type: dockerimage
image: 'eclipse/che-docs:latest'
alias: jekyll-dev
- alias: git
type: dockerimage
image: sunix/git-devtools
mountSources: true
memoryLimit: 64M
- id: ms-vscode/vscode-github-pullrequest/latest
type: chePlugin
commands:
- name: build
actions:
- workdir: /projects/blog-sunix-org/
type: exec
command: jekyll build
component: jekyll-dev
- name: serve
actions:
- workdir: /projects/blog-sunix-org/
type: exec
command: jekyll serve --incremental --livereload -H 0.0.0.0
component: jekyll-dev
- name: killall ruby
actions:
- type: exec
command: killall ruby
component: jekyll-dev