Currently i have a workflow of 2 levels (local<->online), but i would like to have a 3 level workflow by getting a demo server in the middle (local<->demo<->online). I will describe in details how it is set up currently, and what in details i would like to achieve eventually.
What i have now -
- multiple local repositories of the same project (my PC and colluegues PCs)
- online site server (where the site is available to public use, me or other devs from the team may push their ready parts of work from their localhost repositories to here, and pull from here, this is a bare repository added to the local ones over origin master, once pushed up online a hook automatically deploys the pushed changes).
What i would like to have -
- multiple local repositories of the same project (my PC and colluegues PCs)
- demo server where all devs can push and pull from to their local repositories. There should be automatic deployment. Once tested on demo the project should go up online. ( i am in doubt how to incorporate all this part...)
- online bare repository where, we push and pull from the demo server repository. If pushed from demo, it should be auto deployed.
What is the best way to organize this kind of workflow?