diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b888a16..25e5713 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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