drone. Trying $(expr) regex approach in .drone.yml.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d98394ca25
commit
54b8827980
|
@ -6,5 +6,5 @@ steps:
|
|||
- name: validate
|
||||
image: 'docker/compose:1.29.2'
|
||||
commands:
|
||||
- for DIR in */ ; do if [[ $DIR =~ ^_ ]] ; then continue; fi && test -f $DIR/.env.dist && cp $DIR/.env.dist $DIR/.env ; done
|
||||
- for DIR in */ ; do if [[ $DIR =~ ^_ ]] ; then continue; fi && echo $DIR && cd $DIR && docker-compose config && cd .. ; done
|
||||
- for DIR in */ ; do if [[ $(expr match "$DIR" '^_') != 0 ]] ; then continue; fi && test -f $DIR/.env.dist && cp $DIR/.env.dist $DIR/.env ; done
|
||||
- for DIR in */ ; do if [[ $(expr match "$DIR" '^_') != 0 ]] ; then continue; fi && echo $DIR && cd $DIR && docker-compose config && cd .. ; done
|
||||
|
|
Loading…
Reference in a new issue