Skip to content

Commit a9d8548

Browse files
authored
chore: Update go mod to theme v2 (#1424)
1 parent 4d3f1fa commit a9d8548

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

.github/workflows/build-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
5959
call-docs-build-push:
6060
needs: prod-check-branch
61-
uses: nginxinc/docs-actions/.github/workflows/docs-build-push.yml@04ed2db338ee08cc560a327f412684d0c8260de2 # v1.0.11
61+
uses: nginxinc/docs-actions/.github/workflows/docs-build-push.yml@7bae601be08ca09aabd0850731e20847a456c227 # v1.0.12
6262
with:
6363
production_url_path: ""
6464
preview_url_path: "${{ vars.PREVIEW_URL_PATH }}"

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ HUGO?=hugo
22
HUGO_VERSION?=$(shell hugo version 2>/dev/null | awk '{print $$2}' | cut -d '.' -f 2)
33
HUGO_IMG?=hugomods/hugo:std-go-git-0.152.2
44

5-
THEME_MODULE = github.com/nginxinc/nginx-hugo-theme
5+
THEME_MODULE = github.com/nginxinc/nginx-hugo-theme/v2
66

77
ifeq ($(shell [ $(HUGO_VERSION) -gt 146 2>/dev/null ] && echo true || echo false), true)
88
$(info Hugo is available and has a version greater than 146. Proceeding with build.)
@@ -50,7 +50,7 @@ clean:
5050
[ -d "public" ] && rm -rf "public"
5151

5252
hugo-get:
53-
hugo mod get -u github.com/nginxinc/nginx-hugo-theme
53+
hugo mod get -u github.com/nginxinc/nginx-hugo-theme/v2
5454

5555
hugo-tidy:
5656
hugo mod tidy

config/_default/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ enableGitInfo = true
2828

2929
[module]
3030
[[module.imports]]
31-
path="github.com/nginxinc/nginx-hugo-theme"
31+
path="github.com/nginxinc/nginx-hugo-theme/v2"
3232

3333
[markup]
3434
[markup.goldmark]

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ module github.com/nginxinc/docs
22

33
go 1.19
44

5-
require github.com/nginxinc/nginx-hugo-theme v1.0.16 // indirect
5+
require github.com/nginxinc/nginx-hugo-theme/v2 v2.0.0 // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
github.com/nginxinc/nginx-hugo-theme v1.0.16 h1:4JsqGMI5XTwTkzwpdJ1DxtVpYJvh0J9+duy/wWXqUPg=
2-
github.com/nginxinc/nginx-hugo-theme v1.0.16/go.mod h1:DPNgSS5QYxkjH/BfH4uPDiTfODqWJ50NKZdorguom8M=
1+
github.com/nginxinc/nginx-hugo-theme/v2 v2.0.0 h1:Kgh/zeBP7vgPyXowPL2v9MTlRs0CDe31G+bvp7WbH34=
2+
github.com/nginxinc/nginx-hugo-theme/v2 v2.0.0/go.mod h1:TAmEMc0T/RKTQ0pI4LROWoUmyLXstrRmM2jE2ErdxWY=

hugo-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22

3-
hugo mod get -u github.com/nginxinc/nginx-hugo-theme
3+
hugo mod get -u github.com/nginxinc/nginx-hugo-theme/v2
44
hugo $*

0 commit comments

Comments
 (0)