更新.gitlab-ci.yml文件

This commit is contained in:
skeleton 2024-10-15 10:04:32 +00:00
parent 44404279dd
commit 052c8e96f5
1 changed files with 1 additions and 2 deletions

View File

@ -62,8 +62,7 @@ push_job:
stage: sync
script:
- cd $GOPATH/src/$ProjectPath
- |
if [ "$CI_COMMIT_BRANCH" == "develop" ]; then
- if [ "$CI_COMMIT_BRANCH" == "develop" ]; then
SSH_PRIVATE_KEY="$SSH_PRIVATE_KEY_DEVELOP"
REMOTE_HOST="$REMOTE_HOST_DEVELOP"
REMOTE_USER="$REMOTE_USER_DEVELOP"