-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update travis.yml to run tests, build, and deploy build artifacts #49
Comments
On a second look, it appears Heroku uses a build api separate from Travis. The changes listed above should still be made, but we'll need to investigate what needs to be done to tweak the Heroku process in addition. |
clarifying: So Heroku currently watches root and we need it to watch just build? |
https://docs.travis-ci.com/user/deployment/heroku/#Deploying-build-artifacts Apparently once Travis is done doing it's thing (interestingly in the case of our current config -- nothing) it invokes the Heroku build api with our config and Heroku apparently builds it again, or perhaps just deploys it as is (needs investigation). Here's the deployment output from our past deploy to staging (from here:
|
https://docs.travis-ci.com/user/deployment/heroku/ I'm pretty sure we can achieve what we want by the following:
AFAIK the travis state is ephemeral (other than perhaps node_modules) so stepping on our public folder shouldn't harm anything. |
Add the following to
travis.yml
:Research heroku/travis integration to determine how to modify the pipeline to deploy the contents of the
/build/
folder instead of the root.Note that webpack errors will begin to fail travis builds following this change. Need volunteers to fix those errors before we can deploy.
The text was updated successfully, but these errors were encountered: