Skip to content

Commit

Permalink
Add a netlify.toml and update HUGO_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed Sep 22, 2021
1 parent 416debc commit 296bae4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build]
[build.environment]
HUGO_VERSION = "0.88.1"

4 comments on commit 296bae4

@martin-g
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @chalin !
How does Netlify work for you ?
For me it fails with

11:30:55 AM: $ hugo
11:30:55 AM: Start building sites …
11:30:55 AM: hugo v0.88.1-5BC54738+extended linux/amd64 BuildDate=2021-09-04T09:39:19Z VendorInfo=gohugoio
11:30:57 AM: Error: Error building site: TOCSS: failed to transform "scss/main.scss" (text/x-scss): SCSS processing failed: file "stdin", line 6, col 1: File to import not found or unreadable: ../vendor/bootstrap/scss/bootstrap.
11:30:57 AM: Total in 2210 ms

because they do not fetch the sub-modules (git clone --recurse-submodules ...).

@chalin
Copy link
Collaborator Author

@chalin chalin commented on 296bae4 Oct 26, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @chalin ! How does Netlify work for you ?

Yes, and it is working for the docsy-example too, as you can see from the logs of the latest Netlify deploys. FYI, builds were fixed via #146 and documented via #144 and #147.

Cheers!

@martin-g
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you have an idea what could be the my problem above ?
It does not find ../vendor/bootstrap. I thought it is because Netlify clones without --recurse-submodules but I might be wrong.

@chalin
Copy link
Collaborator Author

@chalin chalin commented on 296bae4 Oct 27, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Without more context, no I don't. Maybe try clearing the cache and restarting the build.

Please sign in to comment.