Skip to content

Commit

Permalink
chore: build website preview when asyncapi.json changes (#559)
Browse files Browse the repository at this point in the history
  • Loading branch information
timonback authored Jan 20, 2024
1 parent 5d899d6 commit 10ac738
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
15 changes: 15 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[build]
base = "springwolf-ui"
publish = "dist/"
command = "ng build --base-href=/springwolf-ui/"
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF ./ ../springwolf-examples/**/asyncapi.json"

[[redirects]]
from = "/"
to = " /springwolf-ui/asyncapi-ui.html"
status = 301

[[redirects]]
from = "/springwolf-ui"
to = " /springwolf-ui/asyncapi-ui.html"
status = 301
7 changes: 0 additions & 7 deletions springwolf-ui/src/_redirects

This file was deleted.

0 comments on commit 10ac738

Please sign in to comment.