forked from rancher/rancher-product-docs
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
56 lines (47 loc) · 1.36 KB
/
Makefile
File metadata and controls
56 lines (47 loc) · 1.36 KB
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
product-local:
mkdir -p tmp
npx antora --version
npx antora --stacktrace --log-format=pretty --log-level=info \
playbook-product-local.yml \
2>&1 | tee tmp/product-local-build.log 2>&1
community-local:
mkdir -p tmp
npx antora --version
npx antora --stacktrace --log-format=pretty --log-level=info \
playbook-community-local.yml \
2>&1 | tee tmp/community-local-build.log 2>&1
product-remote:
mkdir -p tmp
npm ci
npx antora --version
npx antora --stacktrace --log-format=pretty --log-level=info \
playbook-product-remote.yml \
2>&1 | tee tmp/product-remote-build.log 2>&1
community-remote:
mkdir -p tmp
npm ci
npx antora --version
npx antora --stacktrace --log-format=pretty --log-level=info \
playbook-community-remote.yml \
2>&1 | tee tmp/community-remote-build.log 2>&1
srfa-local:
mkdir -p tmp
npx antora --version
npx antora --stacktrace --log-format=pretty --log-level=info \
playbook-srfa-local.yml \
2>&1 | tee tmp/srfa-local-build.log 2>&1
srfa-remote:
mkdir -p tmp
npm ci
npx antora --version
npx antora --stacktrace --log-format=pretty --log-level=info \
playbook-srfa-remote.yml \
2>&1 | tee tmp/srfa-remote-build.log 2>&1
clean:
rm -rf build
environment:
npm ci
preview-community-local:
npx http-server build/site-community-local -c-1 -p 8080
preview-product-local:
npx http-server build/site-product-local -c-1 -p 8081