3 ways to add .gitlab-ci.yml to your project
- Clone the repo, add the file and push to the origin
- Go to GitLab interface and click a + near the repo name. There is a new file option. Here you can apply a plenty of templates.
- Go to CI/CD -> Editor and click Configure pipeline. A new pipeline will be automatically generated