diff --git a/test-and-deploy.yml b/test-and-deploy.yml index 66ab124c7f24a1d92efa4d69166ea808c3697a33..43ed560f73411a59c2aeb3a0ad591b1f7737a219 100644 --- a/test-and-deploy.yml +++ b/test-and-deploy.yml @@ -62,7 +62,7 @@ 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 --1; 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