-
Notifications
You must be signed in to change notification settings - Fork 119
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
Deploying to production environment not working as expected #785
Comments
Hi @rinukkusu, I tried to reproduce the issue with the following commands:
The first and second commands deployed to: purple-mud-05975d71e.3.azurestaticapps.net So could you check if your cli version is 1.1.6 (the latest release)? If so, could you kindly provide the logs? Thanks! |
In case it helps someone in the future. I experienced a similar issue on both swa cli 1.1.6 and 1.1.7 and the issue was caused by an environmental variable named |
When any value is set for |
Before filing this issue, please ensure you're using the latest CLI by running
swa --version
and comparing to the latest version on npm.Are you accessing the CLI from the default port
:4280
?--port
) and accessing the CLI from that port:4280
ℹ️ NOTE: Make sure to enable debug logs when running any
swa
commands using--verbose=silly
Describe the bug
--env
option deploys to preview environment. That's fine.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Looking at the documentation, I expect that setting the environment to "production" deploys the app to the production environment. I also expect that setting the environment to "Production" produces the same outcome (see #518). I'm fine with using "prod" as environment option, but this should be clearly documented then, otherwise I consider this is a bug, that cost me many hours debugging.
Screenshots
See screenshots in #518
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: