Skip to content

Fix hugo deprecation warning & bump version #14961

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [pull_request]

env:
NODE_VERSION: 16
HUGO_VERSION: 0.126.1
HUGO_VERSION: 0.145.1

jobs:
lint:
Expand Down
2 changes: 1 addition & 1 deletion config/_default/hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dataDir: data
archetypeDir: archetypes
disableKinds: ["taxonomy"]
enableEmoji: true
paginatePath: blog
pagination.path: blog
markup:
goldmark:
renderer:
Expand Down
2 changes: 1 addition & 1 deletion hugoserver.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ $MyPath = $PSScriptRoot

docker stop hugo-server
docker rm hugo-server
docker run -tip 1313:1313 -v $(pwd):/home/circleci/project:cached -e HUGO_THEME=devopsdays-theme -e HUGO_BASEURL="http://localhost:1313" --name hugo-server --entrypoint "" cibuilds/hugo:0.126.1 hugo server --watch --bind ""
docker run -tip 1313:1313 -v $(pwd):/home/circleci/project:cached -e HUGO_THEME=devopsdays-theme -e HUGO_BASEURL="http://localhost:1313" --name hugo-server --entrypoint "" cibuilds/hugo:0.145.1 hugo server --watch --bind ""
2 changes: 1 addition & 1 deletion hugoserver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ CURUSER=$(id -u)
CURGROUP=$(id -g)

# You can set HUGO_IMAGE in the env to overwrite or it will default to this version
HUGO_IMAGE=${HUGO_IMAGE:-cibuilds/hugo:0.126.1}
HUGO_IMAGE=${HUGO_IMAGE:-cibuilds/hugo:0.145.1}

echo "HUGO_BASEURL: $HUGO_BASEURL"
docker stop hugo-server 2>/dev/null
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"theme_version": "1.17.0",
"hugo_version": "0.126.1",
"hugo_version": "0.145.1",
"devopsdays_cli_version": "0.22.1"
}
6 changes: 3 additions & 3 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
# skip_processing = true

[context.production.environment]
HUGO_VERSION = "0.126.1"
HUGO_VERSION = "0.145.1"

[context.deploy-preview.environment]
HUGO_VERSION = "0.126.1"
HUGO_VERSION = "0.145.1"

[context.branch-deploy.environment]
HUGO_VERSION = "0.126.1"
HUGO_VERSION = "0.145.1"

# Mastodon Configuration
[[redirects]]
Expand Down
Loading