[Git Lab] Gitlab CI
.gitlab-ci.yml
Example
script:
- echo
- dir
deploy-to-production-server:
only:
- master
script:
- xcopy . 코드들어갈 위치
deploy-to-develop-server:
only:
- develop
script:
- xcopy . 코드들어갈 위치
Gitlab-runner
참고자료
https://docs.gitlab.com/ce/ci/runners/README.html#shared-vs-specific-runners
https://lovemewithoutall.github.io/it/deploy-example-by-gitlab-ci/
https://velog.io/@wickedev/Gitlab-CICD-%ED%8A%9C%ED%86%A0%EB%A6%AC%EC%96%BC-bljzphditt
https://namioto.ip.or.kr/2018/07/16/gitlab-ci%EB%A1%9C-%EC%9E%90%EB%8F%99%EB%B0%B0%ED%8F%AC%ED%95%98%EA%B8%B0/