github.com/bigcommerce/nomad@v0.9.3-bc/netlify.toml (about)

     1  # Netlify is installed under the hc-nomad bot account on GitHub.
     2  
     3  [build]
     4    # The generated site needs to live at /ui/, so this moves it there after building.
     5    command = "ember build && mkdir -p ui-dist/ui && mv dist/* ui-dist/ui/"
     6    base = "ui"
     7    publish = "ui/ui-dist"
     8  
     9  # This ensures that following the link from the PR checks list redirects to the subdirectory.
    10  [[redirects]]
    11    from = "/"
    12    to = "/ui/"
    13  
    14  # This catches other unknown URLs and lets Ember handle them.
    15  [[redirects]]
    16    from = "/*"
    17    to = "/ui/index.html"
    18    status = 200