From f810da8f0efd4c7b0b41c210dcdabe6856b5171d Mon Sep 17 00:00:00 2001
From: Manuel Friedli <manuel@fritteli.ch>
Date: Sun, 26 Jun 2016 23:36:56 +0200
Subject: [PATCH] force-removing the directories might prevent the cleanup
 builds from failing all the time.

---
 .gitlab-ci.yml | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b3691ad..6bde79e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -27,9 +27,9 @@ build_job:
 cleanup_build_job:
   stage: cleanup_build
   script:
-  - rm -r node_modules
-  - rm -r bower_components
-  - rm -r dist
+  - rm -rf node_modules
+  - rm -rf bower_components
+  - rm -rf dist
   when: on_failure
 
 staging:
@@ -53,7 +53,6 @@ production:
 cleanup_job:
   stage: cleanup
   script:
-  - rm -r node_modules
-  - rm -r bower_components
+  - rm -rf node_modules
+  - rm -rf bower_components
   when: always
-  
\ No newline at end of file