mirror of
https://github.com/13hannes11/hugo-coder-timeline.git
synced 2024-09-04 00:50:58 +02:00
* Add support for using as a Hugo module (#534) * Add support for using as a Hugo module Fixes #502 * Don't need/want the theme directory with modules * Fix go.{mod,sum} files * Set go version and hugo version everywhere Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com> * Remove hugo mod from exampleSite and Netlify build * Bump hugo version * Move env vars inside netlify.toml Co-authored-by: Edward Muller <edward_muller@icloud.com>
11 lines
308 B
TOML
11 lines
308 B
TOML
[build]
|
|
publish = "exampleSite/public"
|
|
command = "cd exampleSite && hugo --themesDir=../.. --baseURL $URL"
|
|
|
|
[build.environment]
|
|
HUGO_VERSION = "0.77.0"
|
|
HUGO_THEME = "repo"
|
|
|
|
[context.deploy-preview]
|
|
command = "cd exampleSite && hugo --themesDir=../.. --buildFuture --buildDrafts --baseURL $DEPLOY_PRIME_URL"
|