Files
zmk/docs/netlify.toml
Pete Johanson 6934e362b5 docs(ci): Netlify ignore command to check branch (#2659)
Add a separate ignore script that checks git changes but also
only deploys main and version branches to allow us to deploy
versioned docs.

Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com>
2024-11-18 20:26:26 -05:00

22 lines
466 B
TOML

[build]
ignore = "bash ./netlify-ignore-command.sh"
[[redirects]]
from = "/community/discord/invite"
to = "https://discord.gg/sycytVQ"
status = 302
[[redirects]]
from = "https://zmkfirmware.dev/*"
to = "https://zmk.dev/:splat"
force = true
[[redirects]]
from = "https://www.zmkfirmware.dev/*"
to = "https://www.zmk.dev/:splat"
force = true
[[headers]]
for = "/hardware-metadata.json"
[headers.values]
Access-Control-Allow-Origin = "*"