Skip to content

Commit

Permalink
Fix docs docker failing without git context
Browse files Browse the repository at this point in the history
  • Loading branch information
nginx-jack committed Oct 9, 2024
1 parent cd7c63e commit 0333907
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions site/config/docker/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
enableGitInfo = false
2 changes: 1 addition & 1 deletion site/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module github.com/nginx/agent/site

go 1.23

require github.com/nginxinc/nginx-hugo-theme v0.41.19 // indirect
require github.com/nginxinc/nginx-hugo-theme v0.41.20 // indirect
2 changes: 2 additions & 0 deletions site/go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
github.com/nginxinc/nginx-hugo-theme v0.41.19 h1:CyZOhU8q0p3nQ+ZTFRx7c/Dq9rxV1mShADIHz0vDoHo=
github.com/nginxinc/nginx-hugo-theme v0.41.19/go.mod h1:DPNgSS5QYxkjH/BfH4uPDiTfODqWJ50NKZdorguom8M=
github.com/nginxinc/nginx-hugo-theme v0.41.20 h1:6BJGRGdHW17OpkC4qbcHARo9TRrJPFrALBjFltwedf8=
github.com/nginxinc/nginx-hugo-theme v0.41.20/go.mod h1:DPNgSS5QYxkjH/BfH4uPDiTfODqWJ50NKZdorguom8M=
2 changes: 1 addition & 1 deletion site/hugo-entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh

hugo mod get -u github.com/nginxinc/nginx-hugo-theme
hugo $*
hugo --environment docker $*

0 comments on commit 0333907

Please sign in to comment.