force-removing the directories might prevent the cleanup builds from
failing all the time.
This commit is contained in:
		
							parent
							
								
									c666ee8022
								
							
						
					
					
						commit
						f810da8f0e
					
				
					 1 changed files with 5 additions and 6 deletions
				
			
		|  | @ -27,9 +27,9 @@ build_job: | ||||||
| cleanup_build_job: | cleanup_build_job: | ||||||
|   stage: cleanup_build |   stage: cleanup_build | ||||||
|   script: |   script: | ||||||
|   - rm -r node_modules |   - rm -rf node_modules | ||||||
|   - rm -r bower_components |   - rm -rf bower_components | ||||||
|   - rm -r dist |   - rm -rf dist | ||||||
|   when: on_failure |   when: on_failure | ||||||
| 
 | 
 | ||||||
| staging: | staging: | ||||||
|  | @ -53,7 +53,6 @@ production: | ||||||
| cleanup_job: | cleanup_job: | ||||||
|   stage: cleanup |   stage: cleanup | ||||||
|   script: |   script: | ||||||
|   - rm -r node_modules |   - rm -rf node_modules | ||||||
|   - rm -r bower_components |   - rm -rf bower_components | ||||||
|   when: always |   when: always | ||||||
|    |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue