Compare commits

..

No commits in common. "9de6ddc3d71554c1897d230aed4922a9edb752a0" and "8214650eef6c58e1395fdd77a82da0fd6ca346f4" have entirely different histories.

1 changed files with 1 additions and 5 deletions

View File

@ -16,7 +16,7 @@ build-job:
script: script:
# 拷贝到GOPATH # 拷贝到GOPATH
- echo '拷贝到GOPATH' - echo '拷贝到GOPATH'
- cp -rfp ./* $GOPATH/src/$ProjectPath - cp -rfvp ./* $GOPATH/src/$ProjectPath
# 进入项目目录 # 进入项目目录
- cd $GOPATH/src/$ProjectPath - cd $GOPATH/src/$ProjectPath
# 编译 # 编译
@ -30,8 +30,6 @@ build-job:
go build -v go build -v
cd .. cd ..
done < shell/programs.txt done < shell/programs.txt
only:
- develop
deploy-job: deploy-job:
stage: deploy stage: deploy
@ -67,6 +65,4 @@ deploy-job:
- git add . - git add .
- git commit -m "auto commit pipelineId\:$CI_PIPELINE_ID" - git commit -m "auto commit pipelineId\:$CI_PIPELINE_ID"
- git push origin develop - git push origin develop
only:
- develop