Anthony Fok
534e7155bb
deps: Update to github.com/pelletier/go-toml/v2 v2.0.1
2022-06-06 09:36:43 +02:00
Bjørn Erik Pedersen
f2946da9e8
Improve error messages, esp. when the server is running
...
* Add file context to minifier errors when publishing
* Misc fixes (see issues)
* Allow custom server error template in layouts/server/error.html
To get to this, this commit also cleans up and simplifies the code surrounding errors and files. This also removes the usage of `github.com/pkg/errors`, mostly because of https://github.com/pkg/errors/issues/223 -- but also because most of this is now built-in to Go.
Fixes #9852
Fixes #9857
Fixes #9863
2022-05-06 19:43:22 +02:00
Bjørn Erik Pedersen
b80853de90
all: gofmt -w -r 'interface{} -> any' .
...
Updates #9687
2022-03-17 22:03:27 +01:00
Joe Mooring
f122771fb1
Check for empty deployment targets and matchers
...
Fixes #9220
2021-12-01 10:17:42 +01:00
Bjørn Erik Pedersen
d90e37e0c6
all: Format code with gofumpt
...
See https://github.com/mvdan/gofumpt
2020-12-03 13:12:58 +01: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
satotake
12f6a1cdc0
Respect mediatypes for deploy
...
Fixes #6861
2020-08-03 19:06:18 +02:00
Robert van Gent
05a74eaec0
deploy: Implement include/exclude filters for deploy
...
Fixes #6922
2020-02-27 07:26:05 +01:00
Garret Kelly
674e81ae87
deploy: Add ability to invalidate Google Cloud CDN
2019-10-03 16:53:45 +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
5dc6d0df94
deploy: Add tests; fix Windows
2019-05-09 22:11:23 +02:00
Robert van Gent
527cf1ab03
deploy: Support configuration of upload order
2019-05-06 22:59:07 +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