I have a repo inside a GitHub organization.
It has its code which depends on some credentials.
It will basically look for a file called as environment.properties
, which will contain a key-value pair like env=pps
, and will then go on to read a file called as pps-credentials.properties
.
We want to have another repo in the same organization but maintain the same code. This will be deployed to another cloud environment and read the environment file and find a pair like env=jkd
and then read the jkd-credentials.properties
.
Both these codes will be deployed to different cloud environments.
Our requirement is that:
- This new repo should be in the same organization as the old repo
- The code for the two repos should be exactly same
- Since its in same organization, it cant be forked, but we still need to be able to sync the changes made on the old repo to the new one. There will not be any changes to the code, this I can guarantee