title: Run GitlabCI during Merge Request and After Merge
body: <p>How can I make GitLab CI run on merge request and after merge? </p>
  
  <p>Two branches, dev and master.
  Two jobs, test and deploy.</p>
  
  <p>On merge request from any branch to dev branch, CI will trigger. But I only want the test job to run for now. And when the merge request is merged it will then proceed to execute the deploy job. The reason being like this is, although all the tests will pass, we still can't proceed with the deployment because there might be some comments from validators in the Code Review that the dev will need to address. Only after addressing those comments and then if the unit tests are successful will then it be allowed to be merged. After the merge request have been merged, only then will it allow to deploy. The dev branch will be deployed to dev/test and master will be deployed to staging. Prod will be deployed manually.</p>