Commit 3c6cbd35 authored by chuzhaohong's avatar chuzhaohong

Update .gitlab-ci.yml

parent 7aefcf32
......@@ -5,7 +5,8 @@ stages:
release_deploy-1:
stage: release-1
rules:
- changes:
- if: $CI_COMMIT_REF_NAME == "main"
changes:
- dir1/*
when: always
script:
......@@ -17,7 +18,8 @@ release_deploy-1:
release_deploy-2:
stage: release-2
rules:
- changes:
- if: $CI_COMMIT_REF_NAME == "main"
changes:
- dir2/*
when: always
script:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment