mirror of
https://github.com/immich-app/drift.git
synced 2026-09-30 13:22:57 +08:00
Use build_runner to generate documentation
This commit is contained in:
+6
-6
@@ -1,18 +1,18 @@
|
||||
# We use netlify to deploy the documentation.
|
||||
|
||||
[build]
|
||||
base = "docs"
|
||||
publish = "docs/public"
|
||||
command = 'git submodule update --init --recursive && npm i && hugo'
|
||||
base = ""
|
||||
publish = "docs/deploy"
|
||||
command = 'tool/netlify_build.sh'
|
||||
|
||||
[[redirects]]
|
||||
from = "https://moor.netlify.com/*"
|
||||
from = "https://moor.netlify.app/*"
|
||||
to = "https://moor.simonbinder.eu/:splat"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
[context.production]
|
||||
environment = { HUGO_ENV="production", HUGO_VERSION="0.74.3" }
|
||||
environment = { BUILD_RELEASE="release" }
|
||||
|
||||
[context.deploy-preview]
|
||||
environment = { HUGO_VERSION="0.74.3" }
|
||||
environment = { }
|
||||
|
||||
Reference in New Issue
Block a user