How to automate the deployment process using GitLab CI

I am new to gitlab, recently we have migrated to gitlab from tfs. we have a plane to use below development work
feature branch–master->dev–>stage–>prod
if the feature branch merge with master then the code will moves to development server(for developer testing) and then stage(for QA) and manually move to production.

How to achieve this workflow using GitLab CI and how to setup the configuration on each server(in dev, stage and prod).

Please suggest…

1 Like