Skip to content

Commit fa5fb3b

Browse files
authored
Fix netlify HUGO_ENV variable (#4465)
Signed-off-by: Ian Maddaus <[email protected]>
1 parent db20837 commit fa5fb3b

File tree

4 files changed

+1
-4
lines changed

4 files changed

+1
-4
lines changed

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
targetPort = 1313
1515
port = 8000
1616
[context.dev.environment]
17-
HUGO_ENV = "production"
17+
HUGO_ENV = "development"
1818

1919
[context.production]
2020
command = "bash ./scripts/netlify-deploy-production.sh"

scripts/netlify-branch-deploy.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ DART_SASS_VERSION="1.72.0"
1111

1212
echo Branch: $HEAD
1313
echo Branch deploy URL: $DEPLOY_PRIME_URL
14-
echo Hugo env: $HUGO_ENV
1514

1615
# Hugo requires dart-sass
1716
# https://gohugo.io/functions/resources/tocss/#netlify

scripts/netlify-deploy-preview.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ DART_SASS_VERSION="1.72.0"
1313

1414
echo Branch: $HEAD
1515
echo Branch deploy URL: $DEPLOY_PRIME_URL
16-
echo Hugo env: $HUGO_ENV
1716

1817
# Hugo requires dart-sass
1918
# https://gohugo.io/functions/resources/tocss/#netlify

scripts/netlify-deploy-production.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ DART_SASS_VERSION="1.72.0"
1111

1212
echo Branch: $HEAD
1313
echo Branch deploy URL: $DEPLOY_PRIME_URL
14-
echo Hugo env: $HUGO_ENV
1514

1615
# Hugo requires dart-sass
1716
# https://gohugo.io/functions/resources/tocss/#netlify

0 commit comments

Comments
 (0)