I have a development server and a production server. All developers push updates to the development server and the development server pushes updates to the production server.
Is there a Post-Receive hook for doing this? Assume that the development server and production server names are dev1
and prod1
.
If possible, is there a post-receive hook that checks for the tag stable
before pushing to prod1?
Edit: