yewprint/netlify.toml
2022-06-27 15:25:23 +02:00

10 lines
348 B
TOML

[build]
publish = "target/release/dist"
# All deploys from the Production branch
[context.production]
command = "cargo xtask dist --release && cargo doc --workspace --all-features --no-deps && mv target/doc target/release/dist/api"
# all deploys generated from a pull/merge request
[context.deploy-preview]
command = "cargo xtask dist --release"