Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Fix: Clean Hugo and Docsy
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com>
  • Loading branch information
nlamirault committed Apr 4, 2023
1 parent 9c5032d commit f9f4d2a
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,22 @@
# Hugo build configuration for Netlify
# (https://gohugo.io/hosting-and-deployment/hosting-on-netlify/#configure-hugo-version-in-netlify)

# Default build settings
# # Default build settings
# [build]
# publish = "public"
# # command = "git submodule update -f --init && npm install postcss-cli && hugo"
# # command = "git submodule update -f --init --recursive && pushd themes/docsy && git checkout v0.6.0 && popd && npm install postcss-cli && ls -alFrt ./themes/docsy/assets/vendor && hugo --themesDir ./themes"
# # "production" environment specific build settings

# [build.environment]
# HUGO_VERSION = "0.82.0"
# HUGO_THEME = "docsy"
# HUGO_ENV = "production"


[build]
publish = "public"
# command = "git submodule update -f --init && npm install postcss-cli && hugo"
command = "git submodule update -f --init --recursive && pushd themes/docsy && git checkout v0.6.0 && popd && npm install postcss-cli && ls -alFrt ./themes/docsy/assets/vendor && hugo --themesDir ./themes"
publish = "public"

# "production" environment specific build settings
[build.environment]
HUGO_VERSION = "0.82.0"
HUGO_THEME = "docsy"
HUGO_ENV = "production"
HUGO_VERSION = "0.104.3"
GO_VERSION = "1.19.2"

0 comments on commit f9f4d2a

Please sign in to comment.