更新.gitlab-ci.yml文件

This commit is contained in:
skeleton 2024-10-14 05:41:34 +00:00
parent 8df42379e2
commit 17c29b246e
1 changed files with 4 additions and 0 deletions

View File

@ -30,6 +30,8 @@ build-job:
go build -v go build -v
cd .. cd ..
done < shell/programs.txt done < shell/programs.txt
only:
- develop
deploy-job: deploy-job:
stage: deploy stage: deploy
@ -65,4 +67,6 @@ deploy-job:
- 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
only:
- develop