1HUGO-DEPLOY(1)Apr(2020) HUGO-DEPLOY(1)Apr(2020)
2
3
4
5Hugo 0.69.0 Hugo Manual
6
7
9 hugo-deploy - Deploy your site to a Cloud provider.
10
11
12
14 hugo deploy [flags]
15
16
17
19 Deploy your site to a Cloud provider.
20
21
22 See https://gohugo.io/hosting-and-deployment/hugo-deploy/ for detailed
23 documentation.
24
25
26
28 --confirm[=false] ask for confirmation before making changes to
29 the target
30
31
32 --dryRun[=false] dry run
33
34
35 --force[=false] force upload of all files
36
37
38 -h, --help[=false] help for deploy
39
40
41 --invalidateCDN[=true] invalidate the CDN cache listed in the
42 deployment target
43
44
45 --maxDeletes=256 maximum # of files to delete, or -1 to disable
46
47
48 --target="" target deployment from deployments section in config
49 file; defaults to the first one
50
51
52
54 --config="" config file (default is path/config.yaml|json|toml)
55
56
57 --configDir="config" config dir
58
59
60 --debug[=false] debug output
61
62
63 -e, --environment="" build environment
64
65
66 --ignoreVendor[=false] ignores any _vendor directory
67
68
69 --log[=false] enable Logging
70
71
72 --logFile="" log File path (if set, logging enabled automatically)
73
74
75 --quiet[=false] build in quiet mode
76
77
78 -s, --source="" filesystem path to read files relative from
79
80
81 --themesDir="" filesystem path to themes directory
82
83
84 -v, --verbose[=false] verbose output
85
86
87 --verboseLog[=false] verbose logging
88
89
90
92 hugo(1)
93
94
95
96 HUGO-DEPLOY(1)Apr(2020)