Update .gitlab-ci.yml file

This commit is contained in:
Adrien Bourmault 2022-10-10 16:23:20 +00:00
parent c7e557fcbd
commit 3193e5c59d
1 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,7 @@ test-job: # This job runs in the test stage.
files=$(find . -name "*.zone" -printf %P) files=$(find . -name "*.zone" -printf %P)
else else
files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA) files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA)
fi
- echo "Test des zones $files." - echo "Test des zones $files."
@ -39,6 +40,7 @@ deploy-job: # This job runs in the deploy stage.
files=$(find . -name "*.zone" -printf %P) files=$(find . -name "*.zone" -printf %P)
else else
files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA) files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA)
fi
- echo "Déploiement des zones $files..." - echo "Déploiement des zones $files..."
- echo "Déploiement terminé." - echo "Déploiement terminé."