diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 921f37f..12a10e0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,23 +25,23 @@ after_script: # 全局定义流水线阶段(pipeline) stages: - build -develop_build: - stage: build - #需要执行的shell脚本 - script: - - echo "开发服务器环境配置" - - if [ ! -d ".git" ]; then - - git clone -b master $GITLAB_SSH $GIT_CLONE_PATH --depth 1 - - else - - git stash - - fi - - git pull - only: - # 指定分支 - - master - tags: - # 指定执行作业的runner - - developRunner +# my-tag_build: +# stage: build +# #需要执行的shell脚本 +# script: +# - echo "开发服务器环境配置" +# - if [ ! -d ".git" ]; then +# - git clone -b master $GITLAB_SSH $GIT_CLONE_PATH --depth 1 +# - else +# - git stash +# - fi +# - git pull +# only: +# # 指定分支 +# - master +# tags: +# # 指定执行作业的runner +# - developRunner master_build: stage: build @@ -56,4 +56,4 @@ master_build: only: - master tags: - - masterRunner \ No newline at end of file + - my-tag \ No newline at end of file