diff --git a/test-and-deploy.yml b/test-and-deploy.yml index 1b95051087ece9898b7d98bd153143c8a54bd75b..7a4d9060fac84d570198e92869d74ba55d72189e 100644 --- a/test-and-deploy.yml +++ b/test-and-deploy.yml @@ -648,7 +648,7 @@ Debug: - docker compose exec -u root borgmatic chmod -R go-w-r-x /root/.ssh || true - docker compose cp /wait php:/wait - if [[ "$WAIT_HOSTS" != "none" ]]; then docker compose exec -e WAIT_HOSTS="${WAIT_HOSTS}" -it php /wait; fi - - if [[ ! -d /data/${CI_COMMIT_REF_NAME}/backup/config/security ]]; then docker compose exec -u root borgmatic borgmatic --init --encryption repokey || true; fi + - if [[ ! -d /data/${CI_COMMIT_REF_NAME}/backup/config/security ]]; then docker compose exec -u root borgmatic borgmatic init --encryption repokey || true; fi - if [[ -f ./crontabs/jobs.ini ]]; then docker compose exec -u root php chown -R www-data:www-data /var/backups/mysql || true; fi - if [[ "$INITIAL" == "no" ]]; then drush -y cache-rebuild; fi - if [[ "$INITIAL" == "no" ]] && [[ "${SKIPCONFIGIMPORT}" == "no" ]]; then drush -y config-import; fi