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>
This commit is contained in:
parent
4fcc308910
commit
6934e362b5
2 changed files with 12 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
[build]
|
||||
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF . ../app/boards/"
|
||||
ignore = "bash ./netlify-ignore-command.sh"
|
||||
|
||||
[[redirects]]
|
||||
from = "/community/discord/invite"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue