Skip to content

Commit

Permalink
Testing without the build:netlify command
Browse files Browse the repository at this point in the history
  • Loading branch information
jayair committed Jul 22, 2018
1 parent 2893edc commit 44e1ebd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
10 changes: 5 additions & 5 deletions netlify.toml
Expand Up @@ -6,26 +6,26 @@
[build]
base = ""
publish = "build"
command = "REACT_APP_STAGE=dev npm run build:netlify"
command = "REACT_APP_STAGE=dev npm run build"

# Production context: All deploys to the main
# repository branch will inherit these settings.
[context.production]
command = "REACT_APP_STAGE=prod npm run build:netlify"
command = "REACT_APP_STAGE=prod npm run build"

# Deploy Preview context: All Deploy Previews
# will inherit these settings.
[context.deploy-preview]
command = "REACT_APP_STAGE=dev npm run build:netlify"
command = "REACT_APP_STAGE=dev npm run build"

# Branch Deploy context: All deploys that are not in
# an active Deploy Preview will inherit these settings.
[context.branch-deploy]
command = "REACT_APP_STAGE=dev npm run build:netlify"
command = "REACT_APP_STAGE=dev npm run build"

# Always redirect any request to our index.html
# and return the status code 200.
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
status = 200
1 change: 0 additions & 1 deletion package.json
Expand Up @@ -16,7 +16,6 @@
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"build:netlify": "npm run build",
"eject": "react-scripts eject"
}
}

0 comments on commit 44e1ebd

Please sign in to comment.