forked from eclipse-che/che-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevfile.yaml
49 lines (49 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
metadata:
name: che-docs-in-che
projects:
- name: che-docs
source:
location: 'https://github.com/eclipse/che-docs.git'
type: 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: che-docs-dev
- id: eclipse/che-theia/next
type: cheEditor
- id: joaompinto/vscode-asciidoctor/latest
type: chePlugin
apiVersion: 1.0.0
commands:
- name: build che-docs
actions:
- workdir: /projects/che-docs/src/main
type: exec
command: 'mkdir -p _site && jekyll build --config _config.yml,_config-war.yml'
component: che-docs-dev
- name: serve che-docs
actions:
- workdir: /projects/che-docs/src/main
type: exec
command: 'jekyll serve --incremental --livereload -H 0.0.0.0'
component: che-docs-dev
- name: killall ruby
actions:
- type: exec
command: killall ruby
component: che-docs-dev