ci: setup initial drone script
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is failing
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	continuous-integration/drone/push Build is failing
				
			This commit is contained in:
		
							parent
							
								
									72eaae33a5
								
							
						
					
					
						commit
						a4d32bab24
					
				
					 1 changed files with 19 additions and 0 deletions
				
			
		
							
								
								
									
										19
									
								
								.drone.yml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								.drone.yml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,19 @@
 | 
			
		|||
kind: pipeline
 | 
			
		||||
type: docker
 | 
			
		||||
name: default
 | 
			
		||||
 | 
			
		||||
steps:
 | 
			
		||||
  - name: build_deploy
 | 
			
		||||
    privileged: true
 | 
			
		||||
    image: node:latest
 | 
			
		||||
    volumes:
 | 
			
		||||
      - name: dazzle
 | 
			
		||||
        path: /dazzle:/dazzle
 | 
			
		||||
    commands:
 | 
			
		||||
      - npm install
 | 
			
		||||
      - npm run build
 | 
			
		||||
      - cp -r ./build/* /dazzle/
 | 
			
		||||
      - ls .
 | 
			
		||||
      - ls /
 | 
			
		||||
      - ls /dazzle/
 | 
			
		||||
      - cat /dazzle/index.html
 | 
			
		||||
		Loading…
	
	Add table
		
		Reference in a new issue