更新.gitlab-ci.yml文件
This commit is contained in:
parent
83baeae566
commit
72b8443372
|
@ -1,6 +1,7 @@
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
- deploy
|
- deploy
|
||||||
|
- push
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
ProjectPath: "mongo.games.com/game"
|
ProjectPath: "mongo.games.com/game"
|
||||||
|
@ -58,6 +59,9 @@ deploy-job:
|
||||||
rm -rf $line/$line
|
rm -rf $line/$line
|
||||||
done < shell/programs.txt
|
done < shell/programs.txt
|
||||||
|
|
||||||
|
push_job:
|
||||||
|
stage: push
|
||||||
|
script:
|
||||||
# 提交代码
|
# 提交代码
|
||||||
- echo '提交代码'
|
- echo '提交代码'
|
||||||
- cd $GOPATH/src/$DeployPath
|
- cd $GOPATH/src/$DeployPath
|
||||||
|
|
Loading…
Reference in New Issue