diff --git a/test-and-deploy.yml b/test-and-deploy.yml index e9b6607c9c113148a35cfb74f61ddbf4812406ec..5b8f5db58450b3458c8ec710c5dd56cbe39ad213 100644 --- a/test-and-deploy.yml +++ b/test-and-deploy.yml @@ -720,8 +720,10 @@ Debug: - rm /tmp/test.log >/dev/null 2>&1 || true - EC=0 - if [[ ! -f composer.lock ]]; then DOINSTALL=1; fi + - if [[ $DOINSTALL -eq 1 ]]; then mkdir -p config/default/sync; fi + - if [[ $DOINSTALL -eq 1 ]]; then touch config/default/sync/.gitkeep; fi - if [[ $DOINSTALL -eq 1 ]]; then composer install --no-interaction --no-progress --no-dev; fi - - if [[ $DOINSTALL -eq 1 ]]; then git add * >/dev/null >2&1 || true; fi + - if [[ $DOINSTALL -eq 1 ]]; then git add * >/dev/null 2>&1 || true; fi - if [[ $DOINSTALL -eq 1 ]]; then echo "Initial installation" >/tmp/test.log; fi - if [[ $DOINSTALL -eq 0 ]]; then composer update --no-interaction --no-progress --no-dev --dry-run $NAMESPACES_CHECK_UPDATE >/tmp/test.log 2>&1 || EC=$?; fi - if [[ $EC -ne 0 ]]; then cat /tmp/test.log; exit 1; fi