How to gitlab cl cd

To use GitLab CI/CD, all you need is an application codebase hosted in a Git repository, and for your build, test, and deployment scripts to be specified in a file called .gitlab-ci.yml, located in the root path of your repository.

需要写 gitlab-ci.yml 文件 来描述如何自动化 ci , cd

 

Once you’ve added your .gitlab-ci.yml configuration file to your repository, GitLab will detect it and run your scripts with the tool called GitLab Runner, which works similarly to your terminal.

写完以后用 gitlab runner 来执行 yml 文件