Add deploy scripts
This commit is contained in:
		
							parent
							
								
									108bafaaee
								
							
						
					
					
						commit
						65169e49e1
					
				
							
								
								
									
										6
									
								
								.build/build.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								.build/build.sh
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					BUILD_PATH=$1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					cd $BUILD_PATH || exit 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					yarn install
 | 
				
			||||||
 | 
					yarn build
 | 
				
			||||||
							
								
								
									
										6
									
								
								.build/deploy.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								.build/deploy.sh
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,6 @@
 | 
				
			|||||||
 | 
					BUILD_PATH=$1
 | 
				
			||||||
 | 
					DEPLOY_PATH=$2
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# copy all dist files to deploy path
 | 
				
			||||||
 | 
					rsync $BUILD_PATH/dist $DEPLOY_PATH
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user