Bjørn Erik Pedersen
241b21b0fd
Create a struct with all of Hugo's config options
...
Primary motivation is documentation, but it will also hopefully simplify the code.
Also,
* Lower case the default output format names; this is in line with the custom ones (map keys) and how
it's treated all the places. This avoids doing `stringds.EqualFold` everywhere.
Closes #10896
Closes #10620
2023-05-16 18:01:29 +02:00
davidejones
bebb2b8d0a
switch transfers to workers
2023-03-07 15:38:26 +01:00
davidejones
e6f029bdee
customize parallel transfer count
2023-03-07 15:38:26 +01:00
Bjørn Erik Pedersen
b80853de90
all: gofmt -w -r 'interface{} -> any' .
...
Updates #9687
2022-03-17 22:03:27 +01:00
Bjørn Erik Pedersen
7d1f806ecb
commands: Don't fail on template errors on go mod graph etc.
...
Fixes #8942
2021-08-31 22:16:12 +02:00
Eric Hagman
f465c5c307
build: Allow optional "nodeploy" tag to exclude deploy command from bin
...
Fixes #7826
2020-10-23 09:03:41 +02:00
Robert van Gent
a1c3e3c1f3
deploy: Ensure that non-trivial default flag values are passed through.
2020-07-04 21:19:25 +02:00
Bjørn Erik Pedersen
2bbc865f7b
commands: Fix config environment handling
...
Fixes #6503
Fixes #6824
2020-01-31 16:36:36 +01:00
Garret Kelly
674e81ae87
deploy: Add ability to invalidate Google Cloud CDN
2019-10-03 16:53:45 +02:00
HyeonGyu Lee
ea9261e856
commands: Make sure the hugo field is always initialized before it's used
...
Wrap the field to make it accessible after initialization.
Fixes #6193
2019-08-15 09:33:47 +02:00
Robert van Gent
9df57154ee
deploy: Default --target to the first deployment target
2019-06-08 00:41:59 +02:00
Robert van Gent
8914fe7ed7
Update CLI doc for "long" form
2019-05-31 22:08:12 +02:00
Robert van Gent
b0f536fb27
Drop dashes in http header matcher attributes; other changes from code review
2019-05-31 22:08:12 +02:00
Robert van Gent
f4956d9aae
deploy: Support invalidating a CloudFront CDN cache
2019-05-06 21:09:33 +02:00
Robert van Gent
c7165589b3
Add a "deploy" command
2019-05-03 17:58:40 +02:00