From 8ca7fb93cc8ccb2273d943fa689693e8f7b91658 Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Sun, 14 Aug 2022 10:50:09 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 56fd784..516e532 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,6 +25,7 @@ synchro-et-tests: rsync -avzlh * /home/webmaster/site-a-lec.org/articles/ - |+ # Check how many changed + echo "Fichiers commités : $(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA)" files="" files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA | grep stl || find . -name "*.stl") if [ -z "$CI_COMMIT_SHA" ]; then files=$(find . -name "*.stl"); fi @@ -55,6 +56,7 @@ deploiement: # This job runs in the deploy stage. script: - |+ # Check how many files to be builded + echo "Fichiers commités : $(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA)" files="" files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA | grep stl || find . -name "*.stl") if [ -z "$CI_COMMIT_SHA" ]; then files=$(find . -name "*.stl"); fi