/
nanoc.yaml
42 lines (37 loc) · 947 Bytes
/
nanoc.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
env: "production"
output_dir: output
index_filenames: ["index.html"]
enable_output_diff: false
prune:
auto_prune: true
data_sources:
-
type: filesystem_unified
items_root: /
layouts_root: /
allow_periods_in_identifiers: true
encoding: utf-8
checks:
internal_links:
# A list of patterns, specified as regular expressions, to exclude from the
# check. If an internal link matches this pattern, the validity check will
# be skipped.
#
# E.g.: exclude: ["^/server_status"]
exclude: []
deploy:
default:
kind: lftp
dst_host: nutikaitse.ee
dst_path: suunised
moll:
kind: rsync
dst: "moll:/home/public/documents/nutikaitse"
# -n dry run
# -v verbose
# -r recurse
# -z compress
# -i itemize changes, shows them
# -t preserve modification times
# -O omit directories from --times/-t
options: ["-rvziOt", "--chmod=u=rwX,go=rX", "--delete-after"]