This commit is contained in:
		
							parent
							
								
									ae59e5b9c5
								
							
						
					
					
						commit
						ee686f81ec
					
				
					 1 changed files with 2 additions and 15 deletions
				
			
		
							
								
								
									
										17
									
								
								.drone.yml
									
										
									
									
									
								
							
							
						
						
									
										17
									
								
								.drone.yml
									
										
									
									
									
								
							| 
						 | 
					@ -6,20 +6,7 @@ steps:
 | 
				
			||||||
  - name: build_deploy
 | 
					  - name: build_deploy
 | 
				
			||||||
    privileged: true
 | 
					    privileged: true
 | 
				
			||||||
    image: node:latest
 | 
					    image: node:latest
 | 
				
			||||||
    volumes:
 | 
					 | 
				
			||||||
      - name: dazzle
 | 
					 | 
				
			||||||
        path: /home/light/dazzle/:/dazzle
 | 
					 | 
				
			||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
      # - npm install
 | 
					      - npm install
 | 
				
			||||||
      # - npm run build
 | 
					      - npm run build
 | 
				
			||||||
      - pwd
 | 
					 | 
				
			||||||
      - ls .
 | 
					 | 
				
			||||||
      - ls ..
 | 
					 | 
				
			||||||
      - ls -lA /
 | 
					 | 
				
			||||||
      - ls -lA /bonfire
 | 
					 | 
				
			||||||
      - ls /drone
 | 
					 | 
				
			||||||
      - ls /drone/*
 | 
					 | 
				
			||||||
      - ls /home/
 | 
					 | 
				
			||||||
      - cp -r ./build/* /dazzle/
 | 
					      - cp -r ./build/* /dazzle/
 | 
				
			||||||
      - ls /dazzle/
 | 
					 | 
				
			||||||
      - cat /dazzle/index.html
 | 
					 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue