Skip to content
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

Deploy to multiple environments/servers? #17

Open
leizhao4 opened this issue Jul 7, 2016 · 1 comment
Open

Deploy to multiple environments/servers? #17

leizhao4 opened this issue Jul 7, 2016 · 1 comment

Comments

@leizhao4
Copy link

leizhao4 commented Jul 7, 2016

Hi Felix,

How do I configure this addon to deploy to multiple environments/servers? I have four servers (Dev, QA, Staging, Production). How do I let them know what environment they should use to build my app?

Thanks!

@graham-sportsmgmt
Copy link

graham-sportsmgmt commented Oct 12, 2016

At this time (2.8.0) EmberJS only supports development, production, and test:

https://guides.emberjs.com/v2.8.0/configuring-ember/configuring-your-app/

Your question is still very interesting to me as I need something similar. I looked through the deploy.sh file and it seems that it should be fairly easy to add something that checks for an environment variable and conditionally adds an argument to the build process:

ember build --environment="production"

I'm not familiar enough with the underlying code to make this change, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants