gitlab ci

eg 多环境
stages stage only
stages:
  - build
  - test
  - deploy

job_build: stage: build script: - echo "Building the project..." # 添加构建项目的命令
job_test: stage: test script: - echo "Running tests..." # 添加运行测试的命令
job_deploy_staging: stage: deploy environment: staging script: - echo "Deploying to staging server..." # 添加部署到staging服务器的命令 only: - master
job_deploy_production: stage: deploy environment: production script: - echo "Deploying to production server..." # 添加部署到production服务器的命令 only: - tags

点击打赏
文章目录
  1. 1.
  2. 2.
载入天数...载入时分秒... ,