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

Same build machine with two different server urls #86

Open
rahman2835 opened this issue Jan 23, 2025 · 2 comments
Open

Same build machine with two different server urls #86

rahman2835 opened this issue Jan 23, 2025 · 2 comments

Comments

@rahman2835
Copy link

rahman2835 commented Jan 23, 2025

Hello every one,

I have one use case where

  1. I have created two server urls ( one for dev and another one for Prod)
  2. From build machine, I registred (code-push-standalone register dev-server-url) for dev server url and got the access key and saved it in same build machine.
  3. Now from the same build machine if I try to register for Prod server url then it will generate one more access key for Prod server.
  4. so while adding the new app from the build machine, is it possible to use accesskey to create new app for specific server url (Prod or Dev) ?

I mean, code-push-standalone app add using Prod or Dev url.

Or before adding the new app, should I logout and login using access key generated using register step.

code-push-standalone login --accessKey (generated by Prod Url or Dev url).

Please suggest.

@jerinjohnk
Copy link

@rahman2835 Why are you creating two different server URLs?
One server URL already contains different production and staging environments; you can add more environments as needed.

Maybe Access-Keys is something that might help in creating an automated login/logout.

Also, please don't tag me in any future issues, as I am not a collaborator. This helps keep notifications manageable.
If someone’s input is required, you can mention it in the comments without tagging, and they can engage as needed.

@rahman2835
Copy link
Author

@jerinjohnk thank you so much for your quick reply. I will make sure, next time will not tag you.

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