Update .gitlab-ci.yml file

This commit is contained in:
Adrien Bourmault 2022-10-10 17:01:47 +00:00
parent f43d1c4c1c
commit 48674976e5
1 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ stages: # List of stages for jobs, and their order of execution
test-job: # This job runs in the test stage. test-job: # This job runs in the test stage.
stage: test # It only starts when the job in the build stage completes successfully. stage: test # It only starts when the job in the build stage completes successfully.
script: script:
- |+ - |+ # Recherche de zones à tester
if [ ! -z "$CI_RELOAD" ] if [ ! -z "$CI_RELOAD" ]
then then
files=$(find . -name "*.zone" -printf %P) files=$(find . -name "*.zone" -printf %P)
@ -41,7 +41,7 @@ test-job: # This job runs in the test stage.
deploy-job: # This job runs in the deploy stage. deploy-job: # This job runs in the deploy stage.
stage: deploy # It only runs when *both* jobs in the test stage complete successfully. stage: deploy # It only runs when *both* jobs in the test stage complete successfully.
script: script:
- |+ - |+ # Recherche de zones à déployer
if [ ! -z "$CI_RELOAD" ] if [ ! -z "$CI_RELOAD" ]
then then
files=$(find . -name "*.zone" -printf %P) files=$(find . -name "*.zone" -printf %P)