Fix zip creation in drone
This commit is contained in:
		
							parent
							
								
									e564b1aeaa
								
							
						
					
					
						commit
						7509ef7a65
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -22,8 +22,8 @@ steps:
 | 
				
			||||||
  pull: always
 | 
					  pull: always
 | 
				
			||||||
  commands:
 | 
					  commands:
 | 
				
			||||||
    - apk add zip
 | 
					    - apk add zip
 | 
				
			||||||
    - cd /drone/
 | 
					    - rm -rf .git node_modules src
 | 
				
			||||||
    - rm -r reitanlage-oranienburg/src reitanlage-oranienburg/node_modules
 | 
					    - cd ..
 | 
				
			||||||
    - zip -r ro.zip reitanlage-oranienburg
 | 
					    - zip -r ro.zip reitanlage-oranienburg
 | 
				
			||||||
    - mv ro.zip /drone/reitanlage-oranienburg/reitanlage-oranienburg-${DRONE_TAG}.zip
 | 
					    - mv ro.zip /drone/reitanlage-oranienburg/reitanlage-oranienburg-${DRONE_TAG}.zip
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue