提交 78b5c03c authored 作者: Chris Harris's avatar Chris Harris

新增生产环境CI/CD

上级 83314ae1
stages: stages:
- deploy - deploy
deploy_job: test_deploy_job:
stage: deploy stage: deploy
script: script:
- cd "E:\datacenter" - cd "E:\datacenter"
...@@ -11,4 +11,17 @@ deploy_job: ...@@ -11,4 +11,17 @@ deploy_job:
# 只有test分支才执行 # 只有test分支才执行
- test - test
tags: tags:
- "36" - "36"
\ No newline at end of file
prod_deploy_job:
stage: deploy
script:
- "F:"
- cd datacenter-bak
- git checkout master
- git pull
only:
# 只有master分支才执行
- master
tags:
- "prod"
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论