Update .gitlab-ci.yml file
This commit is contained in:
parent
9577997e10
commit
c0105bd194
|
@ -36,13 +36,6 @@ test-job: # This job runs in the test stage.
|
|||
deploy-job: # This job runs in the deploy stage.
|
||||
stage: deploy # It only runs when *both* jobs in the test stage complete successfully.
|
||||
script:
|
||||
- |+
|
||||
if [ -z "$CI_COMMIT_SHA" ]
|
||||
then
|
||||
files=$(find . -name "*.zone" -printf %P)
|
||||
else
|
||||
files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA)
|
||||
fi
|
||||
|
||||
- files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA)
|
||||
- echo "Déploiement des zones $files..."
|
||||
- echo "Déploiement terminé."
|
||||
|
|
Loading…
Reference in New Issue