Compare commits

..

4 Commits

Author SHA1 Message Date
skeleton 9de6ddc3d7 更新.gitlab-ci.yml文件 2024-10-14 05:45:28 +00:00
skeleton 8d51143e18 更新.gitlab-ci.yml文件 2024-10-14 05:42:57 +00:00
skeleton 17c29b246e 更新.gitlab-ci.yml文件 2024-10-14 05:41:34 +00:00
skeleton 8df42379e2 更新.gitlab-ci.yml文件 2024-10-14 05:40:39 +00:00
1 changed files with 5 additions and 1 deletions

View File

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