From f028c73ba3f14f9e4ef66181296c5a1320765637 Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Tue, 31 May 2022 21:11:00 +0300 Subject: [PATCH] CI configuration optimization. --- .drone.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index e413635..d513f16 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,6 +1,6 @@ kind: pipeline type: docker -name: default +name: validate-pr steps: - name: validate @@ -8,7 +8,8 @@ steps: commands: - for DIR in */ ; do if [[ $(expr match "$DIR" "_.*") != 0 ]] ; then echo "SKIPPING $DIR" && continue; fi && test -f $DIR/.env.dist && cp $DIR/.env.dist $DIR/.env ; done - for DIR in */ ; do if [[ $(expr match "$DIR" "_.*") != 0 ]] ; then echo "SKIPPING $DIR" && continue; fi && echo $DIR && cd $DIR && docker-compose config && cd .. ; done - when: - event: - include: - - pull_request + +trigger: + event: + include: + - pull_request