diff --git a/test-and-deploy.yml b/test-and-deploy.yml index f09065c49325ce21004bf8ab76279e4a153b90ac..953bd501808876c52580eb16268cfc1db71c3e36 100644 --- a/test-and-deploy.yml +++ b/test-and-deploy.yml @@ -62,8 +62,8 @@ stages: - ssh-keyscan gitlab.lakedrops.com >> ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts - ssh git@gitlab.lakedrops.com - - if [ -n $DOWNGRADE_COMPOSER ]; then composer self-update --$DOWNGRADE_COMPOSER; fi - - if [ -n $GITLAB_ACCESS_TOKEN ]; then composer config -g gitlab-token.gitlab.lakedrops.com $GITLAB_ACCESS_TOKEN; fi + - if [[ -n $DOWNGRADE_COMPOSER ]]; then composer self-update --$DOWNGRADE_COMPOSER; fi + - if [[ -n $GITLAB_ACCESS_TOKEN ]]; then composer config -g gitlab-token.gitlab.lakedrops.com $GITLAB_ACCESS_TOKEN; fi - composer install --no-interaction --no-progress - composer lakedrops:scaffold --no-interaction - composer lakedrops:docker4drupal --no-interaction