Compare commits
2 Commits
368a6e29a5
...
8214650eef
Author | SHA1 | Date |
---|---|---|
|
8214650eef | |
|
ce2ecdc8f6 |
|
@ -3,6 +3,7 @@ stages:
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
|
GOPATH: "/root/gopath"
|
||||||
ProjectPath: "mongo.games.com/game"
|
ProjectPath: "mongo.games.com/game"
|
||||||
DeployPath: "mongo.games.com/deploy"
|
DeployPath: "mongo.games.com/deploy"
|
||||||
|
|
||||||
|
@ -62,6 +63,6 @@ deploy-job:
|
||||||
- echo '提交代码'
|
- echo '提交代码'
|
||||||
- cd $GOPATH/src/$DeployPath
|
- cd $GOPATH/src/$DeployPath
|
||||||
- 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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue