Fix review apps getting lost from time to time

Due to a misconfiguration when doing rsync with the --delete option,
review apps got lost from time to time and needed to be redeployed.
8 jobs for fix-review-apps-deployment-losses in 3 minutes and 27 seconds (queued for 2 seconds)
Status Name Job ID Coverage
  Build
passed build:latest #79907

00:02:35

passed build:production #79910

00:02:30

passed build:production:review-apps #79909

00:02:45

passed build:production:subpath #79908

00:02:28

 
  Test
passed test:htmlproofer #79911

00:00:53

passed test:htmlproofer:subpath #79912

00:00:50

 
  Review
passed review #79913
review-apps

00:00:06

failed stop_review #79914
review-apps allowed to fail manual

00:00:01

 
Name Stage Failure
failed
stop_review Review
Using Shell executor...
Running on hifis-review-app...
Skipping Git repository setup
Skipping Git checkout
Skipping Git submodules setup
$ rm -rf public /var/www/html/gl-review-apps/$REVIEW_APPS_PATH
$ rmdir --ignore-fail-on-non-empty /var/www/html/gl-review-apps/review-apps/$CI_PROJECT_PATH_SLUG/
rmdir: failed to remove '/var/www/html/gl-review-apps/review-apps/hifis-software-hifis-net/': No such file or directory
ERROR: Job failed: exit status 1