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

[Github Workflow] Repetitive Code Removed. Program is dynamic now. #10

Closed
wants to merge 1 commit into from

Conversation

a0v0
Copy link

@a0v0 a0v0 commented Jan 30, 2022

Now on if you want to deploy 2 pair of apps then :
Add TOTAL_APP_PAIRS in environment and specify how many pair of apps you want to switch (example : 2) then
For app pair 1 add these environment variables : PROCESSTYPE_1 , A_APIKEY_1 ,A_APPNAME_1 ,B_APIKEY_1, B_APPNAME_1
For app pair 2 add these environment variables : PROCESSTYPE_2 , A_APIKEY_2 ,A_APPNAME_2 ,B_APIKEY_2, B_APPNAME_2

Now on if you want to deploy 2 pair of apps  then :
Add TOTAL_APP_PAIRS in environment and specify how many pair of apps you want to switch (example : 2) then 
For app pair 1 add these environment variables : PROCESSTYPE_1 , A_APIKEY_1 ,A_APPNAME_1 ,B_APIKEY_1, B_APPNAME_1
For app pair 2 add these environment variables : PROCESSTYPE_2 , A_APIKEY_2 ,A_APPNAME_2 ,B_APIKEY_2, B_APPNAME_2
@a0v0
Copy link
Author

a0v0 commented Jan 30, 2022

Dont forget to update the docs.

@a0v0 a0v0 changed the title Repetitive Code Removed. Program is dynamic now. [Github Workflow] Repetitive Code Removed. Program is dynamic now. Jan 30, 2022
@tiararosebiezetta
Copy link
Owner

Thanks for the pull request. I can see that it's a great improvement. I'll check it and if it works as intended, then I'll update it alongside the docs 😊

This pull request was closed.
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

Successfully merging this pull request may close these issues.

None yet

2 participants