Commit 3c6cbd35 authored by chuzhaohong's avatar chuzhaohong

Update .gitlab-ci.yml

parent 7aefcf32
...@@ -5,7 +5,8 @@ stages: ...@@ -5,7 +5,8 @@ stages:
release_deploy-1: release_deploy-1:
stage: release-1 stage: release-1
rules: rules:
- changes: - if: $CI_COMMIT_REF_NAME == "main"
changes:
- dir1/* - dir1/*
when: always when: always
script: script:
...@@ -17,7 +18,8 @@ release_deploy-1: ...@@ -17,7 +18,8 @@ release_deploy-1:
release_deploy-2: release_deploy-2:
stage: release-2 stage: release-2
rules: rules:
- changes: - if: $CI_COMMIT_REF_NAME == "main"
changes:
- dir2/* - dir2/*
when: always when: always
script: 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