Skip to content

Commit

Permalink
fix netlify url preview
Browse files Browse the repository at this point in the history
  • Loading branch information
nginx-jack committed Dec 6, 2023
1 parent 7a37efa commit 5a4a390
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion site/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,4 @@ build-dev:
hugo --gc -e development

deploy-preview: hugo-mod
hugo --gc -b ${NETLIFY_DEPLOY_URL}
hugo --gc -b ${NETLIFY_DEPLOY_URL}/nginx-gateway-fabric/
1 change: 0 additions & 1 deletion site/config/_default/config.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
title = "NGINX Gateway Fabric"
enableGitInfo = false
baseURL = "/"
publishDir = "public/nginx-gateway-fabric"
staticDir = ["static"]
languageCode = "en-us"
description = "NGINX Gateway Fabric."
Expand Down
1 change: 1 addition & 0 deletions site/config/development/config.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
baseURL = "https://docs-dev.nginx.com/nginx-gateway-fabric"
title = "DEV -- NGINX Gateway Fabric"
publishDir = "public/nginx-gateway-fabric"
canonifyURLs = false
1 change: 1 addition & 0 deletions site/config/production/config.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
baseURL = "/nginx-gateway-fabric"
title = "NGINX Gateway Fabric"
publishDir = "public/nginx-gateway-fabric"
canonifyURLs = false
1 change: 1 addition & 0 deletions site/config/staging/config.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
baseURL = "https://docs-staging.nginx.com/nginx-gateway-fabric"
title = "STAGING -- NGINX Gateway Fabric"
publishDir = "public/nginx-gateway-fabric"
canonifyURLs = false
1 change: 1 addition & 0 deletions site/netlify.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[build]
base = "site/"
publish = "public"
command = "hugo --gc -b $DEPLOY_PRIME_URL/nginx-gateway-fabric"

[context.production]
command = "make all"
Expand Down

0 comments on commit 5a4a390

Please sign in to comment.