tieme-ndo/frontend

View on GitHub
netlify.toml

Summary

Maintainability
Test Coverage
# Global settings applied to the whole site.
#
# “base” is the directory to change to before starting build. If you set base:
#        that is where we will look for package.json/.nvmrc/etc, not repo root!
# “command” is your build command.
# “publish” is the directory to publish (relative to the root of your repo).

[build]
  base    = ""
  command = "yarn build"
  publish = "/build"

# Production context: All deploys from the main
# repository branch will inherit these settings.
[context.production]
  command = "yarn build"
  [context.production.environment]
    REACT_APP_API_URL = "https://t-ndo.herokuapp.com"

# Deploy Preview context: All deploys generated from a pull/merge request
# will inherit these settings.
[context.deploy-preview.environment]
  REACT_APP_API_URL = "https://tndo-temp-staging.herokuapp.com"