GitLab CI/CD Pipeline 学习

如何分阶段

publish:
  stage: publish
  script:
    - ./publish.sh
  when: $PUBLISH_ARTIFACTS==true

stage可以分

  • build
  • test
  • deploy

资源:
https://docs.gitlab.com/ee/ci/yaml/

你可能感兴趣的:(GitLab CI/CD Pipeline 学习)