From c925646cf222e46a41e491ba9ee9e115b56cdf56 Mon Sep 17 00:00:00 2001 From: Robert van Gent Date: Thu, 20 Dec 2018 11:22:03 -0800 Subject: [PATCH 1/3] Add a "deploy" command --- config.toml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/config.toml b/config.toml index a7eb54cf8..e2a89761c 100644 --- a/config.toml +++ b/config.toml @@ -48,6 +48,45 @@ baseName = "_headers" isPlainText = true notAlternative = true +# Sample deployments section. +# Hugo docs site has been uploaded to AWS/GCS/Azure +# using "hugo deploy" based on these: +# AWS: https://s3-hugo-testing.s3-us-west-1.amazonaws.com/index.html +# GCS: https://hugo-testing.storage.googleapis.com/index.html +# Azure: https://gocloudhugotesting.z19.web.core.windows.net/ +# TODO: Delete this before merging, after examples +# are added to the documentation. +[deployment] +[[deployment.targets]] +# https://godoc.org/gocloud.dev/blob/s3blob#hdr-Open_URLs +name = "s3" +url = "s3://your-s3-bucket?region=us-west-1" + +[[deployment.targets]] +# https://godoc.org/gocloud.dev/blob/gcsblob#hdr-Open_URLs +name = "gcs" +url = "gs://your-gcs-bucket" + +[[deployment.targets]] +# https://godoc.org/gocloud.dev/blob/azureblob#hdr-Open_URLs +name = "azure" +url = "azblob://$web" + +[[deployment.matchers]] +# cache static assets for 20 years +Pattern = "^.+\\.(js|css|svg|ttf)$" +Cache-Control = "max-age=630720000, no-transform, public" +gzip = true + +[[deployment.matchers]] +Pattern = "^.+\\.(png|jpg)$" +Cache-Control = "max-age=630720000, no-transform, public" +gzip = false + +[[deployment.matchers]] +Pattern = "^.+\\.(html|xml|json)$" +gzip = true + [related] threshold = 80 From 908e87ab274f2a72bac4c26f5401ffcc95a049a0 Mon Sep 17 00:00:00 2001 From: Robert van Gent Date: Fri, 3 May 2019 08:30:00 -0700 Subject: [PATCH 2/3] Revert docs/config.toml changes --- config.toml | 39 --------------------------------------- 1 file changed, 39 deletions(-) diff --git a/config.toml b/config.toml index e2a89761c..a7eb54cf8 100644 --- a/config.toml +++ b/config.toml @@ -48,45 +48,6 @@ baseName = "_headers" isPlainText = true notAlternative = true -# Sample deployments section. -# Hugo docs site has been uploaded to AWS/GCS/Azure -# using "hugo deploy" based on these: -# AWS: https://s3-hugo-testing.s3-us-west-1.amazonaws.com/index.html -# GCS: https://hugo-testing.storage.googleapis.com/index.html -# Azure: https://gocloudhugotesting.z19.web.core.windows.net/ -# TODO: Delete this before merging, after examples -# are added to the documentation. -[deployment] -[[deployment.targets]] -# https://godoc.org/gocloud.dev/blob/s3blob#hdr-Open_URLs -name = "s3" -url = "s3://your-s3-bucket?region=us-west-1" - -[[deployment.targets]] -# https://godoc.org/gocloud.dev/blob/gcsblob#hdr-Open_URLs -name = "gcs" -url = "gs://your-gcs-bucket" - -[[deployment.targets]] -# https://godoc.org/gocloud.dev/blob/azureblob#hdr-Open_URLs -name = "azure" -url = "azblob://$web" - -[[deployment.matchers]] -# cache static assets for 20 years -Pattern = "^.+\\.(js|css|svg|ttf)$" -Cache-Control = "max-age=630720000, no-transform, public" -gzip = true - -[[deployment.matchers]] -Pattern = "^.+\\.(png|jpg)$" -Cache-Control = "max-age=630720000, no-transform, public" -gzip = false - -[[deployment.matchers]] -Pattern = "^.+\\.(html|xml|json)$" -gzip = true - [related] threshold = 80 From 115457b7059abb07bda0aa7c3ef916bb7018b1fc Mon Sep 17 00:00:00 2001 From: hugoreleaser Date: Sat, 18 May 2019 07:55:28 +0000 Subject: [PATCH 3/3] releaser: Add release notes to /docs for release of 0.55.6 [ci skip] --- content/en/news/0.55.6-relnotes/index.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 content/en/news/0.55.6-relnotes/index.md diff --git a/content/en/news/0.55.6-relnotes/index.md b/content/en/news/0.55.6-relnotes/index.md new file mode 100644 index 000000000..4be66d556 --- /dev/null +++ b/content/en/news/0.55.6-relnotes/index.md @@ -0,0 +1,13 @@ + +--- +date: 2019-05-18 +title: "0.55.6" +description: "0.55.6" +categories: ["Releases"] +images: +- images/blog/hugo-bug-poster.png + +--- + + This is a bug-fix release with one important fix. There have been reports about infrequent paginator crashes when running the Hugo server since 0.55.0. The reason have been narrowed down to that of parallel rebuilds. This isn't a new thing, but the changes in 0.55.0 made it extra important to serialize the page initialization. This release fixes that by protecting the `Build` method with a lock when running in server mode. [95ce2a40](https://github.com/gohugoio/hugo/commit/95ce2a40e734bb82b69f9a64270faf3ed69c92cc) [@bep](https://github.com/bep) [#5885](https://github.com/gohugoio/hugo/issues/5885)[#5968](https://github.com/gohugoio/hugo/issues/5968) +